共用方式為


ScriptIntrinsicBLAS.SGEMM 方法

定義

SGEMM 會執行其中一個矩陣矩陣運算 C := alpha*op(A)op(B) + betaC,其中 op(X) 是其中一個 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) 是其中一個 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 屬性授權中所述的詞彙使用。

適用於