52 const circle::Tensor *value = kernel.
input2();
53 const circle::Tensor *output = kernel.
output();
59 const size_t flat_size = Tensor::num_elements(output);
61 switch (Tensor::element_type(value))
64 case DataType::FLOAT32:
65 fillImpl<float>(flat_size, kernels::getTensorData<float>(value_data),
66 kernels::getTensorData<float>(output_data));
70 fillImpl<int32_t>(flat_size, kernels::getTensorData<int32_t>(value_data),
71 kernels::getTensorData<int32_t>(output_data));
75 fillImpl<uint8_t>(flat_size, kernels::getTensorData<uint8_t>(value_data),
76 kernels::getTensorData<uint8_t>(output_data));
80 assert(
false &&
"Not impl yet");