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

Function analyze_op

caffe2/python/net_printer.py:83–87  ·  view source on GitHub ↗
(analyzer, op)

Source from the content-addressed store, hash-verified

81
82@Analyzer.register(OperatorDef)
83def analyze_op(analyzer, op):
84 for x in op.input:
85 analyzer.need_blob(x)
86 for x in op.output:
87 analyzer.define_blob(x)
88
89
90@Analyzer.register(Net)

Callers

nothing calls this directly

Calls 2

need_blobMethod · 0.80
define_blobMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…