1#ifndef ATEN_CORE_TENSOR_MAP_H_
2#define ATEN_CORE_TENSOR_MAP_H_
A multi-dimensional reference array of elements of a single data type.
Definition tensor_map.h:19
A class for representing the shape of a tensor.
Definition tensor_shape.h:13
A multi-dimensional array of elements of a single data type.
Definition tensor.h:32
void * data() const
Get a pointer to the data buffer of the tensor.
Definition tensor.cpp:73
DataType data_type() const
Get the data type of the tensor.
Definition tensor.cpp:61
const TensorShape & shape() const
Get the shape of the tensor.
Definition tensor.cpp:67
DataType
Enumeration of data types for tensors. The DataType enum lists the supported data types for tensors....
Definition tensor_types.h:50
DeviceType
The type of memory used by an allocator.
Definition tensor_types.h:73