Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for graphdef (0.14 seconds)

  1. tensorflow/c/c_test_util.cc

        const tensorflow::GraphDef& graph_def) {
      std::vector<std::pair<string, string>> grads;
      for (const tensorflow::GradientDef& grad : graph_def.library().gradient()) {
        grads.emplace_back(grad.function_name(), grad.gradient_func());
      }
      std::sort(grads.begin(), grads.end());
      return grads;
    }
    
    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def) {
      std::vector<string> names;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 17.8K bytes
    - Click Count (1)
  2. tensorflow/c/c_api.cc

    TF_ImportGraphDefResults* TF_GraphImportGraphDefWithResults(
        TF_Graph* graph, const TF_Buffer* graph_def,
        const TF_ImportGraphDefOptions* options, TF_Status* status) {
      GraphDef def;
      if (!tensorflow::ParseProtoUnlimited(&def, graph_def->data,
                                           graph_def->length)) {
        status->status = InvalidArgument("Invalid GraphDef");
        return nullptr;
      }
      auto results = new TF_ImportGraphDefResults();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  3. 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.
    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)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      return new GraphContext(name);
    }
    
    // Register the tracing implemented in this file as the default tracing engine.
    static bool register_tracing = [] {
      RegisterTracingEngineFactory("graphdef", GraphTracingFactory);
      SetDefaultTracingEngine("graphdef").IgnoreError();
      return true;
    }();
    
    }  // namespace graph
    }  // namespace tracing
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  5. tensorflow/c/c_api_experimental.cc

        const char* text_proto,
        std::function<void(FunctionDef*)>* mutate_proto_func, TF_Status* status) {
      tensorflow::GraphDef gdef;
      if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &gdef)) {
        status->status = tensorflow::errors::Internal(
            "Invalid text proto for GraphDef: ", text_proto);
        return {};
      }
      const auto& fdef_lib = gdef.library();
      if (fdef_lib.gradient_size() > 0) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_internal.h

        TF_LOCKS_EXCLUDED(session->graph->mu, session->mu);
    
    std::string getTF_OutputDebugString(TF_Output node);
    
    // Set whether to propagate assigned device information when constructing a new
    // Graph from a GraphDef. By default assigned device information is not copied
    // and is re-computed by the runtime.
    inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec(
        TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) {
    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)
  7. tensorflow/c/c_api_function_test.cc

      TF_GraphCopyFunction(host_graph_, func_, grad_func, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Verify that function and its grad are in host graph's GraphDef
      GraphDef gdef;
      GetGraphDef(host_graph_, &gdef);
      std::vector<std::string> func_names = GetFuncNames(gdef);
      ASSERT_EQ(2, func_names.size());
      ASSERT_EQ(func_name_, func_names[0]);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  8. RELEASE.md

    *   The Python API will now properly set the `list` member of `AttrValue` in
        constructed `GraphDef` messages for empty lists. The serialization of some
        graphs will change, but the change is both forwards and backwards
        compatible. It will break tests that compare a generated `GraphDef` to a
        golden serialized `GraphDef` (which is discouraged).
    
    ## Thanks to our Contributors
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  9. docs/fr/docs/tutorial/dependencies/sub-dependencies.md

    Ce ne sont que des fonctions qui ressemblent aux *fonctions de chemin d'accès*.
    
    Mais il est très puissant et vous permet de déclarer des « graphes » (arbres) de dépendances imbriquées aussi profondément que vous le souhaitez.
    
    /// tip | Astuce
    
    Tout cela peut ne pas sembler très utile avec ces exemples simples.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    Einfach Funktionen, die genauso aussehen wie *Pfadoperation-Funktionen*.
    
    Dennoch ist es sehr mächtig und ermöglicht Ihnen die Deklaration beliebig tief verschachtelter Abhängigkeits-„Graphen“ (Bäume).
    
    /// tip | Tipp
    
    All dies scheint angesichts dieser einfachen Beispiele möglicherweise nicht so nützlich zu sein.
    
    Aber Sie werden in den Kapiteln über **Sicherheit** sehen, wie nützlich das ist.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top