Internal constructors of Tensor object.
@internal Tensor.internal({ required this.type, required this.layout, required this.data, });