MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / forward

Method forward

k_diffusion/models/modules.py:227–229  ·  view source on GitHub ↗
(x, theta, conj)

Source from the content-addressed store, hash-verified

225class ApplyRotaryEmbeddingInplace(torch.autograd.Function):
226 @staticmethod
227 def forward(x, theta, conj):
228 _apply_rotary_emb_inplace(x, theta, conj=conj)
229 return x
230
231 @staticmethod
232 def setup_context(ctx, inputs, output):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected