to_ivy_shape#

ivy.to_ivy_shape(shape)[source]#

Return the input shape in ivy.Shape form.

Parameters:

shape (Union[Shape, NativeShape]) – The input to be converted

Return type:

Shape

Returns:

ret

the input in ivy.Shape form