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

Function mesh_indexing

imperative/python/test/unit/core/test_indexing_op.py:243–246  ·  view source on GitHub ↗
(input, tuple_val)

Source from the content-addressed store, hash-verified

241
242
243def mesh_indexing(input, tuple_val):
244 input, tensors, items = unpack_getitem(input, tuple_val)
245 op = builtin.MeshIndexing(items)
246 return invoke_op(op, (input, *tensors))
247
248
249def set_mesh_indexing(input, value, tuple_val):

Callers 1

test_mesh_indexingFunction · 0.85

Calls 2

unpack_getitemFunction · 0.85
invoke_opFunction · 0.85

Tested by

no test coverage detected