48 assert(input_data1 !=
nullptr);
49 assert(input_data2 !=
nullptr);
50 assert(output_data !=
nullptr);
52 switch (Tensor::element_type(kernel.
input1()))
55 case DataType::FLOAT32:
60 const int flat_size = input_shape1.
flatSize();
62 kernels::getTensorData<float>(input_data2),
63 kernels::getTensorData<float>(output_data));
68 input_shape1, kernels::getTensorData<float>(input_data1), input_shape2,
69 kernels::getTensorData<float>(input_data2),
output_shape,
70 kernels::getTensorData<float>(output_data));
76 assert(
false &&
"Unsupported type.");
void BroadcastMaximum4DSlow(const luci_interpreter::RuntimeShape &input1_shape, const float *input1_data, const luci_interpreter::RuntimeShape &input2_shape, const float *input2_data, const luci_interpreter::RuntimeShape &output_shape, float *output_data)