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

Method define_blob

caffe2/python/net_printer.py:73–74  ·  view source on GitHub ↗
(self, blob)

Source from the content-addressed store, hash-verified

71 del self.workspace_ctx[-1]
72
73 def define_blob(self, blob):
74 self.workspace[blob] += 1
75
76 def need_blob(self, blob):
77 if any(blob.startswith(p) for p in Analyzer.PREFIXES_TO_IGNORE):

Callers 2

analyze_opFunction · 0.80
analyze_stepFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected