22#include "PALMaximum.h"
39 circle::TensorType input1_type;
48 case circle::TensorType_FLOAT32:
51 if (input_shape1 == input_shape2)
53 const int flat_size = input_shape1.
flatSize();
54 status =
pal::Maximum(flat_size, utils::castInputData<float>(input_data1),
55 utils::castInputData<float>(input_data2),
56 utils::castOutputData<float>(output_data));
62 input_shape2, utils::castInputData<float>(input_data2),
63 output_shape, utils::castOutputData<float>(output_data));
69 assert(
false &&
"Unsupported type.");
const luci_interpreter::RuntimeShape output_shape
OMStatus Maximum(const int flat_size, const float *input1_data, const float *input2_data, float *output_data)
OMStatus BroadcastMaximum4DSlow(const core::OMRuntimeShape &input1_shape, const float *input1_data, const core::OMRuntimeShape &input2_shape, const float *input2_data, const core::OMRuntimeShape &output_shape, float *output_data)
OMStatus readKernelDataTISO(const OMExecuteArgs &execute_args, uint8_t *&input_data1, uint8_t *&input_data2, uint8_t *&output_data, core::OMRuntimeShape &input1_shape_ref, core::OMRuntimeShape &input2_shape_ref, core::OMRuntimeShape &output_shape_ref, circle::TensorType &tensor_type)