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

Method append

torch/utils/tensorboard/_pytorch_graph.py:149–153  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

147 self.scope_name_appeared = []
148
149 def append(self, x):
150 if isinstance(x, NodePyIO):
151 self.nodes_io[x.debugName] = x
152 if isinstance(x, NodePyOP):
153 self.nodes_op.append(x)
154
155 def printall(self):
156 print("all nodes")

Callers 15

parseFunction · 0.95
compile_fileMethod · 0.45
load_binunicodeMethod · 0.45
optimize_for_mobileFunction · 0.45
codegen_configMethod · 0.45
_unpack_noneMethod · 0.45
_apply_on_tensorsMethod · 0.45
detach_variableFunction · 0.45

Calls 1

isinstanceFunction · 0.85

Tested by 1

run_benchmarkFunction · 0.36