ScriptIntrinsicBLAS.SGEMM 方法

定义

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
Allocation

输入分配包含矩阵 A,支持的元素类型 Element#F32

B
Allocation

输入分配包含矩阵 B,支持的元素类型 Element#F32

beta
Single

标量 beta 版。

C
Allocation

输入分配包含矩阵 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.renderscript.ScriptIntrinsicBLAS.SGEMM(int, int, float, android.renderscript.Allocation, android.renderscript.Allocation, float, android.renderscript.Allocation)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于