MatrixMultiply - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


DeepLearning/Tensor/MatrixMultiply

compute matrix multiplication of Tensors

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

MatrixMultiply(x,y,opts)

Parameters

x

-

Tensor

y

-

Tensor

opts

-

zero or more options as specified below

Options

• 

name=string

The value of option name specifies an optional name for this Tensor, to be displayed in output and when visualizing the dataflow graph.

Description

• 

The MatrixMultiply(x,y,opts) command computes the matrix multiplication product of two Tensor objects.

Examples

> 

with⁡DeepLearning:

> 

m1≔Constant⁡−92.1,−31.3,67.3|−35.0,65.0,41.0

m1≔DeepLearning TensorShape: [3, 2]Data Type: float[8]

(1)
> 

m2≔Constant⁡99.7,29.0|44.5,−14.0|45.0,24.0

m2≔DeepLearning TensorShape: [2, 3]Data Type: float[8]

(2)
> 

MatrixMultiply⁡m1,m2

DeepLearning TensorShape: [3, 3]Data Type: float[8]

(3)

Compatibility

• 

The DeepLearning/Tensor/MatrixMultiply command was introduced in Maple 2019.

• 

For more information on Maple 2019 changes, see Updates in Maple 2019.

See Also

DeepLearning Overview

LinearAlgebra

Tensor