FusedMatMul

Description

Matrix product that behaves like numpy.matmul:Β https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.matmul.html

 

Input parameters

 

specified_outputs_name :Β array, this parameter lets you manually assign custom names to the output tensors of a node.

Β Graphs in :Β cluster, ONNX model architecture.

Β AΒ (heterogeneous) – T :Β object, N-dimensional matrix A.
Β B (heterogeneous) – T : object, N-dimensional matrix B.

Β Parameters :Β cluster,

Β alphaΒ :Β float,Β scalar multiplier for the product of the input tensors.
Default value β€œ1”.
Β transA :Β boolean, whether A should be transposed on the last two dimensions before doing multiplication.
Default value β€œFalse”.
Β transBΒ :Β boolean, whether B should be transposed on the last two dimensions before doing multiplication.
Default value β€œFalse”.
Β transBatchA :Β boolean, whether A should be transposed on the 1st dimension and batch dimensions (dim-1 to dim-rank-2) before doing multiplication.
Default value β€œFalse”.
Β transBatchBΒ :Β boolean, whether B should be transposed on the 1st dimension and batch dimensions (dim-1 to dim-rank-2) before doing multiplication.
Default value β€œFalse”.
Β training?Β :Β boolean, whether the layer is in training mode (can store data for backward).
Default value β€œTrue”.
Β lda coeff :Β float, defines the coefficient by which the loss derivative will be multiplied before being sent to the previous layer (since during the backward run we go backwards).
Default value β€œ1”.

Β name (optional) :Β string, name of the node.

Output parameters

 

Β YΒ (heterogeneous) – T :Β object, matrix multiply results.

Type Constraints

T in (tensor(float),Β tensor(float16), tensor(bfloat16), tensor(double)) : Constrain input and output types to float tensors.

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Deep Learning library to run it).
Table of Contents