split_factor

ivy.split_factor(node_str=None)[source]

Get the global split factor for a given node, which can be used to scale batch splitting chunk sizes for the node across the codebase. Default global value for each node is 1.

Parameters

node_str (str, optional) – The node to query the split factor for. Sets the default node by default.

Returns

The split factor for the specified node.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty