since TensorView does not have data() even when it is contiguous on memory