Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ImportGraphDefOptionsNumReturnOperations (0.43 sec)

  1. tensorflow/c/c_api.h

        TF_ImportGraphDefOptions* opts, const char* oper_name);
    
    // Returns the number of return operations added via
    // TF_ImportGraphDefOptionsAddReturnOperation().
    TF_CAPI_EXPORT extern int TF_ImportGraphDefOptionsNumReturnOperations(
        const TF_ImportGraphDefOptions* opts);
    
    // TF_ImportGraphDefResults holds results that are generated by
    // TF_GraphImportGraphDefWithResults().
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_test.cc

      TF_ImportGraphDefOptionsAddReturnOutput(opts, "scalar", 0);
      EXPECT_EQ(2, TF_ImportGraphDefOptionsNumReturnOutputs(opts));
      TF_ImportGraphDefOptionsAddReturnOperation(opts, "scalar");
      EXPECT_EQ(1, TF_ImportGraphDefOptionsNumReturnOperations(opts));
      tensorflow::GraphDef graph_def_proto;
      ASSERT_TRUE(tensorflow::ParseProtoUnlimited(&graph_def_proto, graph_def->data,
                                                  graph_def->length));
    C++
    - Registered: Tue Apr 30 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.cc

                                                    const char* oper_name) {
      opts->opts.return_nodes.push_back(oper_name);
    }
    
    int TF_ImportGraphDefOptionsNumReturnOperations(
        const TF_ImportGraphDefOptions* opts) {
      return opts->opts.return_nodes.size();
    }
    
    void TF_ImportGraphDefResultsReturnOutputs(TF_ImportGraphDefResults* results,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top