MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Compute

Method Compute

tensorflow/core/kernels/lookup_table_op.cc:914–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
923REGISTER_KERNEL_BUILDER(Name("LookupTableExport").Device(DEVICE_CPU),

Callers

nothing calls this directly

Calls 2

GetLookupTableFunction · 0.85
ExportValuesMethod · 0.45

Tested by

no test coverage detected