Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Haddad (0.15 sec)

  1. tensorflow/c/c_api.cc

          GraphDef graph_def;
          *graph_def.mutable_versions() = graph.versions();
          // Fill graph_def with nodes with ids in the range
          // [session->last_num_graph_nodes, num_nodes), that is the nodes
          // added since the last TF_SessionRun() call.
          for (auto id = session->last_num_graph_nodes; id < num_nodes; ++id) {
            Node* const node = graph.FindNodeId(id);
            if (node != nullptr && node->IsOp()) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(IsNeg(node_def, "add"));
    
      // Serialize to GraphDef.
      GraphDef graph_def2;
      ASSERT_TRUE(GetGraphDef(graph, &graph_def2));
    
      // Compare with first GraphDef + added NodeDef.
      NodeDef* added_node = graph_def.add_node();
      *added_node = node_def;
      EXPECT_EQ(graph_def.DebugString(), graph_def2.DebugString());
    
      // Look up some nodes by name.
      TF_Operation* neg2 = TF_GraphOperationByName(graph, "neg");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_GraphCopyFunction(host_graph_, grad_func, nullptr, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Check that functions are added but not linked
      GraphDef gdef;
      GetGraphDef(host_graph_, &gdef);
      std::vector<string> func_names = GetFuncNames(gdef);
      ASSERT_EQ(2, func_names.size());
      ASSERT_EQ("FooFunc", func_names[0]);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top