torch.Tensor.Tensor.is_contiguous
Tensor.is_contiguous(): booleanReturns true if the tensor is contiguous in memory. Note: torch.js tensors are always contiguous for now.
Returns
booleanTensor.is_contiguous(): booleanReturns true if the tensor is contiguous in memory. Note: torch.js tensors are always contiguous for now.
boolean