| 912 | explicit LookupTableExportOp(OpKernelConstruction* ctx) : OpKernel(ctx) {} |
| 913 | |
| 914 | void Compute(OpKernelContext* ctx) override { |
| 915 | lookup::LookupInterface* table; |
| 916 | OP_REQUIRES_OK(ctx, GetLookupTable("table_handle", ctx, &table)); |
| 917 | core::ScopedUnref unref_me(table); |
| 918 | |
| 919 | OP_REQUIRES_OK(ctx, table->ExportValues(ctx)); |
| 920 | } |
| 921 | }; |
| 922 | |
| 923 | REGISTER_KERNEL_BUILDER(Name("LookupTableExport").Device(DEVICE_CPU), |
nothing calls this directly
no test coverage detected