mindspore.ops.GatherD

class mindspore.ops.GatherD[source]
prim = ops.GatherD()
out = prim(x, dim, index)

is equivalent to

ops.gather_d(x, dim, index)

Refer to mindspore.ops.gather_d() for more details.