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

Method forward

deepspeed/module_inject/layers.py:458–462  ·  view source on GitHub ↗

Forward pass method. Must be implemented by subclasses to define layer-specific operations.

(self, input)

Source from the content-addressed store, hash-verified

456
457 @abstractmethod
458 def forward(self, input):
459 """
460 Forward pass method. Must be implemented by subclasses to define layer-specific operations.
461 """
462 pass
463
464 @abstractmethod
465 def gather_params(self, params_list):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected