MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / _is_attached_to

Method _is_attached_to

imperative/python/megengine/core/autodiff/grad.py:43–44  ·  view source on GitHub ↗
(self, tensor)

Source from the content-addressed store, hash-verified

41 return self._impl.name
42
43 def _is_attached_to(self, tensor):
44 return self._impl.is_attached_to(tensor)
45
46 def wrt(self, *tensors, callback=None):
47 for x in tensors:

Callers 2

_bcast_tracer_stateFunction · 0.80

Calls 1

is_attached_toMethod · 0.80

Tested by

no test coverage detected