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

Method add_row

torch/jit/_script.py:1588–1589  ·  view source on GitHub ↗
(self, lineno: int, value: Any)

Source from the content-addressed store, hash-verified

1586 self.rows: Dict[int, Any] = {}
1587
1588 def add_row(self, lineno: int, value: Any):
1589 self.rows[lineno] = value
1590
1591 def materialize(self):
1592 max_length = len(self.header)

Callers 1

dump_stringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected