Shortcuts

mmcv.ops.scatter_nd

mmcv.ops.scatter_nd(indices: torch.Tensor, updates: torch.Tensor, shape: torch.Tensor)torch.Tensor[source]

Pytorch edition of tensorflow scatter_nd.

this function don’t contain except handle code. so use this carefully when indice repeats, don’t support repeat add which is supported in tensorflow.