to_native_shape#

ivy.to_native_shape(shape)[source]#

Return the input shape in its native backend framework form.

Parameters:

shape (Union[Array, Shape, NativeShape, tuple, int, list]) – The input to be converted

Return type:

NativeShape

Returns:

ret

the input in its native framework form