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

Method forward

deepspeed/module_inject/layers.py:454–458  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected