ONE - On-device Neural Engine
Loading...
Searching...
No Matches
ResizeBilinear.h File Reference
#include "cker/Shape.h"
#include "cker/Types.h"
#include <cmath>

Go to the source code of this file.

Namespaces

namespace  nnfw
 
namespace  nnfw::cker
 

Functions

void nnfw::cker::ResizeBilinearKernel2x2 (int32_t x0, int32_t x1, int32_t y0, int32_t y1, int32_t x, int32_t y, int32_t depth, int32_t batch, const Shape &input_shape, const float *input_data, const Shape &output_shape, float *output_data)
 
void nnfw::cker::ResizeBilinear2x2 (int32_t batches, int32_t input_height, int32_t input_width, int32_t depth, int32_t output_height, int32_t output_width, const Shape &input_shape, const float *input_data, const Shape &output_shape, float *output_data)
 
void nnfw::cker::ResizeBilinearKernel (const float *input_ptr, int32_t depth, float scale, float *output_ptr)
 
void nnfw::cker::ComputeInterpolationValues (const float value, const float scale, const bool half_pixel_centers, int32_t input_size, float *scaled_value, int32_t *lower_bound, int32_t *upper_bound)
 
void nnfw::cker::ResizeBilinearGeneric (int32_t batches, int32_t input_height, int32_t input_width, int32_t depth, int32_t output_height, int32_t output_width, float height_scale, float width_scale, const Shape &input_shape, const float *input_data, float *output_data, const bool half_pixel_centers)
 
template<typename T >
void nnfw::cker::ResizeBilinearGenericSmallChannel (int32_t batches, int32_t input_height, int32_t input_width, int32_t depth, int32_t output_height, int32_t output_width, float height_scale, float width_scale, const Shape &input_shape, const T *input_data, T *output_data, const bool half_pixel_centers)
 
void nnfw::cker::ResizeBilinear (ResizeBilinearParams &params, const Shape &input_shape, const float *input_data, const Shape &output_shape, float *output_data)
 
void nnfw::cker::ResizeBilinear (ResizeBilinearParams &params, const Shape &input_shape, const uint8_t *input_data, const Shape &output_shape, uint8_t *output_data)
 
void nnfw::cker::ComputeInterpolationValues (const int32_t value, const int32_t scale_10, const bool half_pixel_centers, int32_t input_size, int32_t *scaled_value, int32_t *lower_bound, int32_t *upper_bound)
 
void nnfw::cker::ResizeBilinear (const ResizeBilinearParams &op_params, const Shape &unextended_input_shape, const int8_t *input_data, const Shape &unextended_output_shape, int8_t *output_data)