MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / forward

Function forward

PATH/core/utils.py:712–715  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

710
711 def run_function(start, end, functions):
712 def forward(input):
713 for j in range(start, end + 1):
714 input = functions[j](input)
715 return input
716 return forward
717
718 if isinstance(functions, torch.nn.Sequential):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected