| 1558 | using GetSet = GroupedValueTraits<Type>; |
| 1559 | |
| 1560 | Status Init(ExecContext* ctx, const KernelInitArgs&) override { |
| 1561 | // out_type_ initialized by GroupedOneInit |
| 1562 | ones_ = TypedBufferBuilder<CType>(ctx->memory_pool()); |
| 1563 | has_one_ = TypedBufferBuilder<bool>(ctx->memory_pool()); |
| 1564 | return Status::OK(); |
| 1565 | } |
| 1566 | |
| 1567 | Status Resize(int64_t new_num_groups) override { |
| 1568 | auto added_groups = new_num_groups - num_groups_; |
nothing calls this directly
no test coverage detected