2024-10-15 23:12:17 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
< meta name = "generator" content = "Doxygen 1.12.0" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2024-11-23 04:24:16 +08:00
< title > MLX: TransformScale< T > Struct Template Reference< / title >
2024-10-15 23:12:17 +08:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< script type = "text/javascript" src = "clipboard.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "cookie.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectalign" >
< div id = "projectname" > MLX
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
< / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',false);
$(function() { init_search(); });
});
/* @license-end */
< / script >
< div id = "main-nav" > < / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
< / script >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
< / div >
< / div > <!-- top -->
< div id = "doc-content" >
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
2024-11-23 04:24:16 +08:00
< a href = "#pub-attribs" > Public Attributes< / a > |
< a href = "struct_transform_scale-members.html" > List of all members< / a > < / div >
< div class = "headertitle" > < div class = "title" > TransformScale< T > Struct Template Reference< / div > < / div >
2024-10-15 23:12:17 +08:00
< / div > <!-- header -->
< div class = "contents" >
2024-11-23 04:24:16 +08:00
< p > < code > #include < < a class = "el" href = "steel__attention_8h_source.html" > steel_attention.h< / a > > < / code > < / p >
2024-10-15 23:12:17 +08:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-methods" name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2024-11-23 04:24:16 +08:00
< tr class = "memitem:ae109cf7c963ba13df96977e7563f7b70" id = "r_ae109cf7c963ba13df96977e7563f7b70" > < td class = "memItemLeft" align = "right" valign = "top" > METAL_FUNC  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ae109cf7c963ba13df96977e7563f7b70" > TransformScale< / a > (T scale_)< / td > < / tr >
< tr class = "separator:ae109cf7c963ba13df96977e7563f7b70" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9dd329422e5b8da43486cdce17132e16" id = "r_a9dd329422e5b8da43486cdce17132e16" > < td class = "memItemLeft" align = "right" valign = "top" > METAL_FUNC T  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a9dd329422e5b8da43486cdce17132e16" > apply< / a > (T x) const< / td > < / tr >
< tr class = "separator:a9dd329422e5b8da43486cdce17132e16" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-attribs" name = "pub-attribs" > < / a >
Public Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:aa56b8e107acf16fdf77006625c2b8bc6" id = "r_aa56b8e107acf16fdf77006625c2b8bc6" > < td class = "memItemLeft" align = "right" valign = "top" > T  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#aa56b8e107acf16fdf77006625c2b8bc6" > scale< / a > < / td > < / tr >
< tr class = "separator:aa56b8e107acf16fdf77006625c2b8bc6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-10-15 23:12:17 +08:00
< / table >
2024-11-23 04:24:16 +08:00
< h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
< a id = "ae109cf7c963ba13df96977e7563f7b70" name = "ae109cf7c963ba13df96977e7563f7b70" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ae109cf7c963ba13df96977e7563f7b70" > ◆   < / a > < / span > TransformScale()< / h2 >
2024-10-15 23:12:17 +08:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
2024-11-23 04:24:16 +08:00
template< typename T > < / div >
2024-10-15 23:12:17 +08:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2024-11-23 04:24:16 +08:00
< td class = "memname" > METAL_FUNC < a class = "el" href = "struct_transform_scale.html" > TransformScale< / a > < T > < a class = "el" href = "struct_transform_scale.html" > ::TransformScale< / a > < / td >
2024-10-15 23:12:17 +08:00
< td > (< / td >
2024-11-23 04:24:16 +08:00
< td class = "paramtype" > T< / td > < td class = "paramname" > < span class = "paramname" > < em > scale_< / em > < / span > < / td > < td > )< / td >
2024-10-15 23:12:17 +08:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-11-23 04:24:16 +08:00
< h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a9dd329422e5b8da43486cdce17132e16" name = "a9dd329422e5b8da43486cdce17132e16" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a9dd329422e5b8da43486cdce17132e16" > ◆   < / a > < / span > apply()< / h2 >
2024-10-15 23:12:17 +08:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
2024-11-23 04:24:16 +08:00
template< typename T > < / div >
2024-10-15 23:12:17 +08:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2024-11-23 04:24:16 +08:00
< td class = "memname" > METAL_FUNC T < a class = "el" href = "struct_transform_scale.html" > TransformScale< / a > < T > ::apply < / td >
2024-10-15 23:12:17 +08:00
< td > (< / td >
2024-11-23 04:24:16 +08:00
< td class = "paramtype" > T< / td > < td class = "paramname" > < span class = "paramname" > < em > x< / em > < / span > < / td > < td > )< / td >
< td > const< / td >
2024-10-15 23:12:17 +08:00
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-11-23 04:24:16 +08:00
< h2 class = "groupheader" > Member Data Documentation< / h2 >
< a id = "aa56b8e107acf16fdf77006625c2b8bc6" name = "aa56b8e107acf16fdf77006625c2b8bc6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa56b8e107acf16fdf77006625c2b8bc6" > ◆   < / a > < / span > scale< / h2 >
2024-10-15 23:12:17 +08:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
2024-11-23 04:24:16 +08:00
template< typename T > < / div >
2024-10-15 23:12:17 +08:00
< table class = "memname" >
< tr >
2024-11-23 04:24:16 +08:00
< td class = "memname" > T < a class = "el" href = "struct_transform_scale.html" > TransformScale< / a > < T > ::scale< / td >
2024-10-15 23:12:17 +08:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< hr / > The documentation for this struct was generated from the following file:< ul >
2024-11-23 04:24:16 +08:00
< li > mlx/backend/metal/kernels/steel/attn/kernels/< a class = "el" href = "steel__attention_8h_source.html" > steel_attention.h< / a > < / li >
2024-10-15 23:12:17 +08:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.12.0
< / small > < / address >
< / div > <!-- doc - content -->
< / body >
< / html >