17#ifndef ONERT_MICRO_EXECUTE_PAL_FLOOR_COMMON_H
18#define ONERT_MICRO_EXECUTE_PAL_FLOOR_COMMON_H
36 const uint32_t flat_size = input_shape.
flatSize();
41 assert(input_data !=
nullptr);
42 assert(output_data !=
nullptr);
49 for (
int i = 0; i < N; ++i)
54 for (
int i = 0; i < flat_size; i++)
56 output_data[i] = std::floor(input_data[i]);
int32_t dimensionsCount() const
int32_t dims(int i) const
int32_t dims(int i) const
int32_t dimensionsCount() const
const luci_interpreter::RuntimeShape output_shape
OMStatus Floor(const core::OMRuntimeShape &input_shape, const T *input_data, const core::OMRuntimeShape &output_shape, T *output_data)