MCPcopy Index your code
hub / github.com/pytorch/pytorch / names

Method names

caffe2/python/task.py:417–425  ·  view source on GitHub ↗

Retrive the output names. TODO(azzolini): make this schema-based.

(self)

Source from the content-addressed store, hash-verified

415 self.outputs = outputs or []
416
417 def names(self):
418 """
419 Retrive the output names.
420 TODO(azzolini): make this schema-based.
421 """
422 names = []
423 for o in self.outputs:
424 names += o.names
425 return names
426
427 def set_values(self, values, _fetch_func=None):
428 offset = 0

Callers 1

_run_compiledMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected