• Home
  • Raw
  • Download

Lines Matching refs:SimpleTensor

59 class SimpleTensor : public IAccessor
63 SimpleTensor() = default;
70 SimpleTensor(TensorShape shape, Format format);
80 SimpleTensor(TensorShape shape, DataType data_type,
89 SimpleTensor(const SimpleTensor &tensor);
97 SimpleTensor &operator=(SimpleTensor tensor);
99 SimpleTensor(SimpleTensor &&) = default;
101 ~SimpleTensor() = default;
211 friend void swap(SimpleTensor<U> &tensor1, SimpleTensor<U> &tensor2);
224 SimpleTensor<T1> copy_tensor(const SimpleTensor<T2> &tensor) in copy_tensor()
226 SimpleTensor<T1> st(tensor.shape(), tensor.data_type(), in copy_tensor()
238 SimpleTensor<T1> copy_tensor(const SimpleTensor<half> &tensor) in copy_tensor()
240 SimpleTensor<T1> st(tensor.shape(), tensor.data_type(), in copy_tensor()
249 SimpleTensor<T1> copy_tensor(const SimpleTensor<half> &tensor) in copy_tensor()
251 SimpleTensor<T1> st(tensor.shape(), tensor.data_type(), in copy_tensor()
263 SimpleTensor<T>::SimpleTensor(TensorShape shape, Format format) in SimpleTensor() function
275 SimpleTensor<T>::SimpleTensor(TensorShape shape, DataType data_type, int num_channels, Quantization… in SimpleTensor() function
287 SimpleTensor<T>::SimpleTensor(const SimpleTensor &tensor) in SimpleTensor() function
301 SimpleTensor<T> &SimpleTensor<T>::operator=(SimpleTensor tensor)
309 T &SimpleTensor<T>::operator[](size_t offset)
315 const T &SimpleTensor<T>::operator[](size_t offset) const
321 TensorShape SimpleTensor<T>::shape() const in shape()
327 size_t SimpleTensor<T>::element_size() const in element_size()
333 QuantizationInfo SimpleTensor<T>::quantization_info() const in quantization_info()
339 size_t SimpleTensor<T>::size() const in size()
346 Format SimpleTensor<T>::format() const in format()
352 DataLayout SimpleTensor<T>::data_layout() const in data_layout()
358 DataType SimpleTensor<T>::data_type() const in data_type()
371 int SimpleTensor<T>::num_channels() const in num_channels()
407 int SimpleTensor<T>::num_elements() const in num_elements()
413 PaddingSize SimpleTensor<T>::padding() const in padding()
419 const T *SimpleTensor<T>::data() const in data()
425 T *SimpleTensor<T>::data() in data()
431 const void *SimpleTensor<T>::operator()(const Coordinates &coord) const in operator()
437 void *SimpleTensor<T>::operator()(const Coordinates &coord) in operator()
443 void swap(SimpleTensor<U> &tensor1, SimpleTensor<U> &tensor2) in swap()