MatMul

MatMul - 13

版本

  • 名稱MatMul (GitHub)

  • 網域main

  • since_version13

  • functionFalse

  • support_levelSupportType.COMMON

  • 形狀推斷True

此版本的運算子自版本 13 起可用。

摘要

行為類似於 numpy.matmul 的矩陣乘積。

輸入

  • A (異質) - T

    N 維矩陣 A

  • B (異質) - T

    N 維矩陣 B

輸出

  • Y (異質) - T

    A * B 的矩陣乘法結果

類型限制

  • T 屬於 ( tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(int32), tensor(int64), tensor(uint32), tensor(uint64) )

    將輸入和輸出類型限制為 float/int 張量。

MatMul - 9

版本

  • 名稱MatMul (GitHub)

  • 網域main

  • since_version9

  • functionFalse

  • support_levelSupportType.COMMON

  • 形狀推斷True

此版本的運算子自版本 9 起可用。

摘要

行為類似於 numpy.matmul 的矩陣乘積。

輸入

  • A (異質) - T

    N 維矩陣 A

  • B (異質) - T

    N 維矩陣 B

輸出

  • Y (異質) - T

    A * B 的矩陣乘法結果

類型限制

  • T 屬於 ( tensor(double), tensor(float), tensor(float16), tensor(int32), tensor(int64), tensor(uint32), tensor(uint64) )

    將輸入和輸出類型限制為 float/int 張量。

MatMul - 1

版本

  • 名稱MatMul (GitHub)

  • 網域main

  • since_version1

  • functionFalse

  • support_levelSupportType.COMMON

  • 形狀推斷True

此版本的運算子自版本 1 起可用。

摘要

行為類似於 numpy.matmul 的矩陣乘積。

輸入

  • A (異質) - T

    N 維矩陣 A

  • B (異質) - T

    N 維矩陣 B

輸出

  • Y (異質) - T

    A * B 的矩陣乘法結果

類型限制

  • T 屬於 ( tensor(double), tensor(float), tensor(float16) )

    將輸入和輸出類型限制為浮點數張量。