Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_ImportGraphDefOptionsSetPrefix (1.47 sec)

  1. tensorflow/c/c_api_test.cc

      // Import it, with a prefix, in a fresh graph.
      TF_DeleteGraph(graph);
      graph = TF_NewGraph();
      TF_ImportGraphDefOptions* opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported");
      TF_GraphImportGraphDef(graph, graph_def, opts, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* scalar = TF_GraphOperationByName(graph, "imported/scalar");
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 97K bytes
    - Viewed (0)
Back to top