46 #pragma omp parallel for 50 dst[i] = std::floor(src[i]);
DataType data_type() const override
Data type of the tensor.
TensorShape shape() const override
Shape of the tensor.
SimpleTensor< float > src
Copyright (c) 2017-2022 Arm Limited.
SimpleTensor< T > floor_layer(const SimpleTensor< T > &src)
Simple tensor object that stores elements in a consecutive chunk of memory.
int num_elements() const override
Number of elements of the tensor.