set_array_mode#
- ivy.set_array_mode(mode)[source]#
Set the mode of whether to convert inputs to ivy.NativeArray, then convert outputs back to ivy.Array.
Parameter#
- mode
boolean whether to perform ivy.Array conversions
Examples
>>> ivy.set_array_mode(False) >>> ivy.get_array_mode() False
>>> ivy.set_array_mode(True) >>> ivy.get_array_mode() True
- rtype:
None