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

Class TapeEntry

test/dynamo/test_python_autograd.py:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56
57class TapeEntry(NamedTuple):
58 # names of the inputs to the original computation
59 inputs: List[str]
60 # names of the outputs of the original computation
61 outputs: List[str]
62 # apply chain rule
63 propagate: "Callable[List[Variable], List[Variable]]"
64
65
66gradient_tape: List[TapeEntry] = []

Callers 4

operator_mulFunction · 0.85
operator_addFunction · 0.85
operator_sumFunction · 0.85
operator_expandFunction · 0.85

Calls

no outgoing calls

Tested by 4

operator_mulFunction · 0.68
operator_addFunction · 0.68
operator_sumFunction · 0.68
operator_expandFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…