Reshape

constructor(ctx: ExecutionContext, newShape: Shape)(source)

Parameters

T

The tensor data type

V

The value type

ctx

The execution context for tensor operations

newShape

The target shape