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

Method transform_tuple

python/tests/test_compile.py:1245–1246  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

1243 return State(x.a + 10, x.b * 10)
1244
1245 def transform_tuple(t):
1246 return (t[0] + 10, t[1] * 10)
1247
1248 def transform_vector(t):
1249 return Vector([t[0] + 10, t[1] * 10])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected