Tensor(unsigned int rank, DataType dtype, unsigned int bits, const int64_t shape[], const int64_t strides[], void *data, std::string format, unsigned int device_id, Context *context)
Construct from common tensor configurations.
Context object of the tensor, which associates the tensor with what creates it.