Reshape

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

Parameters

ctx

The execution context for tensor operations

newShape

The target shape

Type Parameters

T

The tensor data type

V

The value type