• Home
  • Raw
  • Download

Lines Matching refs:SimpleTensor

58 class SimpleTensor : public IAccessor
62 SimpleTensor() = default;
69 SimpleTensor(TensorShape shape, Format format);
79 SimpleTensor(TensorShape shape, DataType data_type,
88 SimpleTensor(const SimpleTensor &tensor);
96 SimpleTensor &operator=(SimpleTensor tensor);
98 SimpleTensor(SimpleTensor &&) = default;
100 ~SimpleTensor() = default;
210 friend void swap(SimpleTensor<U> &tensor1, SimpleTensor<U> &tensor2);
223 SimpleTensor<T1> copy_tensor(const SimpleTensor<T2> &tensor) in copy_tensor()
225 SimpleTensor<T1> st(tensor.shape(), tensor.data_type(), in copy_tensor()
237 SimpleTensor<T1> copy_tensor(const SimpleTensor<half> &tensor) in copy_tensor()
239 SimpleTensor<T1> st(tensor.shape(), tensor.data_type(), in copy_tensor()
248 SimpleTensor<T1> copy_tensor(const SimpleTensor<half> &tensor) in copy_tensor()
250 SimpleTensor<T1> st(tensor.shape(), tensor.data_type(), in copy_tensor()
262 SimpleTensor<T>::SimpleTensor(TensorShape shape, Format format) in SimpleTensor() function
274 SimpleTensor<T>::SimpleTensor(TensorShape shape, DataType data_type, int num_channels, Quantization… in SimpleTensor() function
286 SimpleTensor<T>::SimpleTensor(const SimpleTensor &tensor) in SimpleTensor() function
300 SimpleTensor<T> &SimpleTensor<T>::operator=(SimpleTensor tensor)
308 T &SimpleTensor<T>::operator[](size_t offset)
314 const T &SimpleTensor<T>::operator[](size_t offset) const
320 TensorShape SimpleTensor<T>::shape() const in shape()
326 size_t SimpleTensor<T>::element_size() const in element_size()
332 QuantizationInfo SimpleTensor<T>::quantization_info() const in quantization_info()
338 size_t SimpleTensor<T>::size() const in size()
345 Format SimpleTensor<T>::format() const in format()
351 DataLayout SimpleTensor<T>::data_layout() const in data_layout()
357 DataType SimpleTensor<T>::data_type() const in data_type()
370 int SimpleTensor<T>::num_channels() const in num_channels()
406 int SimpleTensor<T>::num_elements() const in num_elements()
412 PaddingSize SimpleTensor<T>::padding() const in padding()
418 const T *SimpleTensor<T>::data() const in data()
424 T *SimpleTensor<T>::data() in data()
430 const void *SimpleTensor<T>::operator()(const Coordinates &coord) const in operator()
436 void *SimpleTensor<T>::operator()(const Coordinates &coord) in operator()
442 void swap(SimpleTensor<U> &tensor1, SimpleTensor<U> &tensor2) in swap()