MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / unzip3

Function unzip3

imperative/python/megengine/xla/utils.py:50–58  ·  view source on GitHub ↗
(xyzs)

Source from the content-addressed store, hash-verified

48
49
50def unzip3(xyzs):
51 xs = []
52 ys = []
53 zs = []
54 for x, y, z in xyzs:
55 xs.append(x)
56 ys.append(y)
57 zs.append(z)
58 return tuple(xs), tuple(ys), tuple(zs)
59
60
61def _unwrap_func(f):

Callers 1

_shard_xla_device_arrayFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected