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

Function _ref_layernorm

bench.py:292–294  ·  view source on GitHub ↗
(inputs: dict)

Source from the content-addressed store, hash-verified

290 return reference.softmax_ref(inputs["x"])
291
292def _ref_layernorm(inputs: dict) -> torch.Tensor:
293 import reference
294 return reference.layernorm_ref(inputs["x"], inputs["weight"], inputs["bias"])
295
296def _ref_flash_attention(inputs: dict) -> torch.Tensor:
297 import reference

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected