Unsqueeze

constructor(ctx: ExecutionContext, dim: Int)(source)

Parameters

ctx

The execution context for tensor operations

dim

The dimension to add

Type Parameters

T

The tensor data type

V

The value type