Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ImportGraphDefOptionsNumReturnOperations (0.24 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().
    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

                                                    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,
    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_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));
    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