MCPcopy Create free account
hub / github.com/ml-explore/mlx / fn

Method fn

python/tests/test_quantized.py:263–266  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

261 w_q, scales, biases = mx.quantize(w, group_size, bits)
262
263 def fn(x):
264 return mx.quantized_matmul(
265 x, w_q, scales, biases, transposed, group_size, bits
266 )
267
268 _, vjp_out = mx.vjp(fn, primals=(x,), cotangents=(c,))
269

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected