MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __call__

Method __call__

sat/sgm/modules/diffusionmodules/guiders.py:15–16  ·  view source on GitHub ↗
(self, x: torch.Tensor, sigma: float)

Source from the content-addressed store, hash-verified

13class Guider(ABC):
14 @abstractmethod
15 def __call__(self, x: torch.Tensor, sigma: float) -> torch.Tensor:
16 pass
17
18 def prepare_inputs(self, x: torch.Tensor, s: float, c: Dict, uc: Dict) -> Tuple[torch.Tensor, float, Dict]:
19 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected