| 688 | } |
| 689 | |
| 690 | Result<TypeHolder> ValueCountsOutput(KernelContext*, |
| 691 | const std::vector<TypeHolder>& types) { |
| 692 | return struct_({field(kValuesFieldName, types[0].GetSharedPtr()), |
| 693 | field(kCountsFieldName, int64())}); |
| 694 | } |
| 695 | |
| 696 | template <typename Action> |
| 697 | void AddHashKernels(VectorFunction* func, VectorKernel base, OutputType out_ty) { |