MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / map_tuple_leaf

Method map_tuple_leaf

python/oneflow/framework/args_tree.py:222–262  ·  view source on GitHub ↗

r""" When the type of io args is tuple or list, map the leaf of the arguments into map_function(leaf).

(self, map_function: Callable)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

fnMethod · 0.95
__map_ioMethod · 0.95

Calls 3

_execute_mappingMethod · 0.95
tupleClass · 0.85
appendMethod · 0.45

Tested by 1

fnMethod · 0.76