Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ImportGraphDefOptionsRemapControlDependency (0.29 sec)

  1. tensorflow/c/c_api.h

    // `dst` references an operation already existing in the graph being imported
    // into. `src_name` is copied and has no lifetime requirements.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsRemapControlDependency(
        TF_ImportGraphDefOptions* opts, const char* src_name, TF_Operation* dst);
    
    // Cause the imported graph to have a control dependency on `oper`. `oper`
    // should exist in the graph being imported into.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      // outlive the ImportGraphDef call.
      opts->opts.input_map[TensorId(src_name_str, src_index)] = ToTensorId(dst);
    }
    
    void TF_ImportGraphDefOptionsRemapControlDependency(
        TF_ImportGraphDefOptions* opts, const char* src_name, TF_Operation* dst) {
      opts->opts.input_map[TensorId(src_name, tensorflow::Graph::kControlSlot)] =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_DeleteImportGraphDefOptions(opts);
      opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported4");
      TF_ImportGraphDefOptionsRemapControlDependency(opts, "imported/feed", feed);
      TF_GraphImportGraphDef(graph, graph_def, opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* scalar4 =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top