torch.Tensor.Tensor.argwhere
Returns a tensor containing the indices of all non-zero elements. Same as nonzero() but async to get exact shape.
Returns
Promise<Tensor>Returns a tensor containing the indices of all non-zero elements. Same as nonzero() but async to get exact shape.
Promise<Tensor>