| 166 | }; |
| 167 | |
| 168 | Result<std::unique_ptr<KernelState>> TDigestInit(KernelContext* ctx, |
| 169 | const KernelInitArgs& args) { |
| 170 | TDigestInitState visitor(ctx, *args.inputs[0].type, |
| 171 | static_cast<const TDigestOptions&>(*args.options)); |
| 172 | return visitor.Create(); |
| 173 | } |
| 174 | |
| 175 | void AddTDigestKernels(KernelInit init, |
| 176 | const std::vector<std::shared_ptr<DataType>>& types, |