MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / _ref_rotary_embedding

Function _ref_rotary_embedding

bench.py:308–310  ·  view source on GitHub ↗
(inputs: dict)

Source from the content-addressed store, hash-verified

306 return reference.cross_entropy_ref(inputs["logits"], inputs["targets"])
307
308def _ref_rotary_embedding(inputs: dict) -> torch.Tensor:
309 import reference
310 return reference.rotary_embedding_ref(inputs["x"], inputs["cos"], inputs["sin"])
311
312def _ref_rmsnorm(inputs: dict) -> torch.Tensor:
313 import reference

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected