xlnstorch.LNSTensor.view

Contents

xlnstorch.LNSTensor.view#

LNSTensor.view(*shape)#

Returns a new tensor with the same data as this LNSTensor but with a different shape.

Parameters:

shape (int)

Return type:

LNSTensor