set_nestable_mode#

ivy.set_nestable_mode(mode)[source]#

Set the mode of whether to check if function inputs are ivy.Container.

Return type:

None

Parameter#

mode

boolean whether to check if function inputs are ivy.Container

Examples

>>> ivy.set_nestable_mode(False)
>>> ivy.nestable_mode
False
>>> ivy.set_nestable_mode(True)
>>> ivy.nestable_mode
True