Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for op_registry (0.07 seconds)

  1. tensorflow/c/c_api_internal.h

    };
    
    struct TF_OperationDescription {
      TF_OperationDescription(TF_Graph* g, const char* op_type,
                              const char* node_name)
          : node_builder(node_name, op_type, g->graph.op_registry()), graph(g) {}
    
      tensorflow::NodeBuilder node_builder;
      TF_Graph* graph;
      std::set<std::string> colocation_constraints;
    };
    
    struct TF_Operation {
      tensorflow::Node node;
    
     private:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_test.cc

      TF_Buffer* buffer = TF_NewBuffer();
    
      TF_GraphGetOpDef(graph, "Add", buffer, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status));
      const OpDef* expected_op_def;
      TF_ASSERT_OK(OpRegistry::Global()->LookUpOpDef("Add", &expected_op_def));
      std::string expected_serialized;
      expected_op_def->SerializeToString(&expected_serialized);
      std::string actual_string(reinterpret_cast<const char*>(buffer->data),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
Back to Top