MCPcopy Create free account
hub / github.com/csslc/PiSA-SR / custom_forward

Method custom_forward

ram/models/bert_lora.py:510–511  ·  view source on GitHub ↗
(*inputs)

Source from the content-addressed store, hash-verified

508
509 def create_custom_forward(module):
510 def custom_forward(*inputs):
511 return module(*inputs, past_key_value, output_attentions)
512
513 return custom_forward
514

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected