Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ImportGraphDefOptionsAddControlDependency (0.23 sec)

  1. tensorflow/c/c_api_test.cc

      TF_DeleteImportGraphDefOptions(opts);
      opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported3");
      TF_ImportGraphDefOptionsAddControlDependency(opts, feed);
      TF_ImportGraphDefOptionsAddControlDependency(opts, feed2);
      TF_GraphImportGraphDef(graph, graph_def, opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // Cause the imported graph to have a control dependency on `oper`. `oper`
    // should exist in the graph being imported into.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsAddControlDependency(
        TF_ImportGraphDefOptions* opts, TF_Operation* oper);
    
    // Add an output in `graph_def` to be returned via the `return_outputs` output
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      opts->opts.input_map[TensorId(src_name, tensorflow::Graph::kControlSlot)] =
          TensorId(dst->node.name(), tensorflow::Graph::kControlSlot);
    }
    
    extern void TF_ImportGraphDefOptionsAddControlDependency(
        TF_ImportGraphDefOptions* opts, TF_Operation* oper) {
      opts->opts.control_dependencies.push_back(oper->node.name());
    }
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top