reshape
fun <I, T : DType, V> Transform<I, Tensor<T, V>>.reshape(ctx: ExecutionContext, shape: Shape): Transform<I, Tensor<T, V>>(source)
Chains a Reshape transform.
Parameters
ctx
The execution context
shape
The new shape
fun <I, T : DType, V> Transform<I, Tensor<T, V>>.reshape(ctx: ExecutionContext, vararg dims: Int): Transform<I, Tensor<T, V>>(source)
Chains a Reshape transform using vararg dimensions.
Parameters
ctx
The execution context
dims
The new dimensions