ScriptIntrinsicBLAS.SGEMM 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
SGEMM 执行矩阵运算 C := alpha*op(A)op(B) + betaC 之一,其中 op(X) = X 或 op(X) = X**T
[Android.Runtime.Register("SGEMM", "(IIFLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;FLandroid/renderscript/Allocation;)V", "", ApiSince=23)]
public void SGEMM (int TransA, int TransB, float alpha, Android.Renderscripts.Allocation? A, Android.Renderscripts.Allocation? B, float beta, Android.Renderscripts.Allocation? C);
[<Android.Runtime.Register("SGEMM", "(IIFLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;FLandroid/renderscript/Allocation;)V", "", ApiSince=23)>]
member this.SGEMM : int * int * single * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * single * Android.Renderscripts.Allocation -> unit
参数
- TransA
- Int32
应用于矩阵 A 的转置的类型。
- TransB
- Int32
应用于矩阵 B 的转置的类型。
- alpha
- Single
标量 alpha。
输入分配包含矩阵 A,支持的元素类型 Element#F32
。
输入分配包含矩阵 B,支持的元素类型 Element#F32
。
- beta
- Single
标量 beta 版。
输入分配包含矩阵 C,支持的元素类型 Element#F32
。
- 属性
注解
SGEMM 执行矩阵运算 C := alpha*op(A)*op(B) + beta*C,其中 op(X) = X 或 op(X) = X 或 op(X) = X**T
详细信息: http://www.netlib.org/lapack/explore-html/d4/de2/sgemm_8f.html
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。