cg_reshape: Reshape Array Dimensions
Description
Change the dimensions of array x
to dim
.
Usage
cg_reshape(x, dim, name = NULL)
Arguments
x
cg.node, placeholder for a numeric vector or array.
dim
cg.node, placeholder for a numeric scalar or vector, the dimensions of the new array.
name
character scalar, name of the operation (optional).
Value
cg.node, node of the operation.