MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / get_backward_inputs

Function get_backward_inputs

deepspeed/compile/patch_compiled_func.py:113–116  ·  view source on GitHub ↗
(frame_key=None)

Source from the content-addressed store, hash-verified

111
112
113def get_backward_inputs(frame_key=None):
114 if frame_key is None:
115 return backward_inputs
116 return backward_inputs.get(frame_key, [])
117
118
119def pop_backward_input(frame_key):

Calls 1

getMethod · 0.45