Skip to contents

Reshape a tensor. Note that row-major order is used, which differs from R's column-major order.

Usage

nv_reshape(operand, shape)

Arguments

operand

(nv_tensor)
Operand.

shape

(integer())
The new shape.

Value

nv_tensor