Skip to contents

Get the shape of a tensor.

Usage

shape(x, ...)

Arguments

x

(any)
Object.

...

(any)
Additional arguments.

Value

(integer())
The shape of the tensor.