xlnstorch.LNSTensor.dim

Contents

xlnstorch.LNSTensor.dim#

LNSTensor.dim()#

Returns the number of dimensions of the LNSTensor.

Returns:

The number of dimensions of the LNSTensor.

Return type:

int