torch.nn.functional.PoolWithIndicesResult
export interface PoolWithIndicesResult {
values: Tensor;
indices: Tensor;
}Result type for pooling operations that return both values and indices. Used by max_pool1d_with_indices, max_pool2d_with_indices, etc.