MCPcopy Create free account
hub / github.com/pytorch/pytorch / _ExtendOps

Method _ExtendOps

caffe2/python/core.py:1988–1991  ·  view source on GitHub ↗
(self, new_ops)

Source from the content-addressed store, hash-verified

1986 return str(output_name)
1987
1988 def _ExtendOps(self, new_ops):
1989 self._net.op.extend(new_ops)
1990 for op in new_ops:
1991 self._op_outputs.update([str(o) for o in op.output])
1992
1993 def _CheckLookupTables(self):
1994 '''

Callers 4

AppendNetMethod · 0.95
AddGradientOperatorsMethod · 0.95
_CreateAndAddToSelfMethod · 0.95
extend_opsMethod · 0.95

Calls 2

extendMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected