| 252 | virtual std::shared_ptr<DataType> value_type() const = 0; |
| 253 | |
| 254 | Status Append(KernelContext* ctx, const ArraySpan& input) { |
| 255 | std::lock_guard<std::mutex> guard(lock_); |
| 256 | return Append(input); |
| 257 | } |
| 258 | |
| 259 | // Prepare the Action for the given input (e.g. reserve appropriately sized |
| 260 | // data structures) and visit the given input with Action. |