Shortcuts

mmcv.ops.scatter_nd

mmcv.ops.scatter_nd(indices: Tensor, updates: Tensor, shape: Tensor) 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.