scatter99scatter(output, dim, index, src) → Tensor scattersrcoutputindexsrcoutputParameters: src (Tensor) – The source tensor.; index (LongTensor) – The indices of elements to scatter.; dim (int, optional) – The axis along which to index.(default: -1) out (Tensor, optional)