[ 仅 API 调用方式不一致 ]torch.Tensor.col_indices
torch.Tensor.col_indices
torch.Tensor.col_indices()
转写示例
# PyTorch 写法
result = a.col_indices()
# Paddle 写法
result = a.cols()
torch.Tensor.col_indices()
# PyTorch 写法
result = a.col_indices()
# Paddle 写法
result = a.cols()