| 238 | |
| 239 | template <typename InListType> |
| 240 | void AddBaseListFlattenKernels(VectorFunction* func) { |
| 241 | auto in_type = {InputType(InListType::type_id)}; |
| 242 | auto out_type = OutputType(ListValuesType); |
| 243 | VectorKernel kernel(in_type, out_type, ListFlatten<InListType>, |
| 244 | OptionsWrapper<ListFlattenOptions>::Init); |
| 245 | DCHECK_OK(func->AddKernel(std::move(kernel))); |
| 246 | } |
| 247 | |
| 248 | void AddBaseListFlattenKernels(VectorFunction* func) { |
| 249 | AddBaseListFlattenKernels<ListType>(func); |
no test coverage detected