mmcv.ops.scatter_nd¶
- mmcv.ops.scatter_nd(indices: torch.Tensor, updates: torch.Tensor, shape: torch.Tensor) → torch.Tensor[源代码]¶
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.