MCPcopy Create free account
hub / github.com/alibaba/nann / Set

Method Set

tensorflow/tensorflow/python/platform/googletest.py:233–257  ·  view source on GitHub ↗

In parent, replace child_name's old definition with new_child. The parent could be a module when the child is a function at module scope. Or the parent could be a class when a class' method is being replaced. The named child is set to new_child, while the prior definition is saved

(self, parent, child_name, new_child)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected