set_shape_array_mode#

ivy.set_shape_array_mode(mode)[source]#

Set the mode of returning shape as ivy.Array to the given mode instance.

Return type:

None

Parameter#

mode

boolean whether to return shape as ivy.Array

Examples

>>> ivy.set_shape_array_mode(False)
>>> ivy.shape_array_mode
False
>>> ivy.set_shape_array_mode(True)
>>> ivy.shape_array_mode
True