MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Floor

Function Floor

tensorflow/lite/kernels/internal/optimized/optimized_ops.h:3929–3935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3927}
3928
3929inline void Floor(const RuntimeShape& input_shape, const float* input_data,
3930 const RuntimeShape& output_shape, float* output_data) {
3931 gemmlowp::ScopedProfilingLabel label("Floor");
3932 auto input_map = MapAsVector(input_data, input_shape);
3933 auto output_map = MapAsVector(output_data, output_shape);
3934 output_map.array() = Eigen::floor(input_map.array());
3935}
3936
3937inline void Ceil(const RuntimeShape& input_shape, const float* input_data,
3938 const RuntimeShape& output_shape, float* output_data) {

Callers

nothing calls this directly

Calls 2

floorClass · 0.85
MapAsVectorFunction · 0.70

Tested by

no test coverage detected