%**% {rTorch}R Documentation

Matrix/Tensor multiplication of two tensors

Description

This generic is similar to torch$matmul(a, b)

Usage

a %**% b

Arguments

a

tensor

b

tensor

Value

a scalar or a tensor

Examples

## Not run: 
p <- torch$randn(3L)
q <- torch$randn(3L)
p %**% q

## End(Not run)


[Package rTorch version 0.4.2 Index]