Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ImportGraphDefOptionsNumReturnOutputs (0.22 sec)

  1. tensorflow/c/c_api.h

        TF_ImportGraphDefOptions* opts, const char* oper_name, int index);
    
    // Returns the number of return outputs added via
    // TF_ImportGraphDefOptionsAddReturnOutput().
    TF_CAPI_EXPORT extern int TF_ImportGraphDefOptionsNumReturnOutputs(
        const TF_ImportGraphDefOptions* opts);
    
    // Add an operation in `graph_def` to be returned via the `return_opers` output
    // parameter of TF_GraphImportGraphDef(). `oper_name` is copied and has no
    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_test.cc

      TF_ImportGraphDefOptionsAddInputMapping(opts, "scalar", 0, {scalar, 0});
      TF_ImportGraphDefOptionsAddReturnOutput(opts, "feed", 0);
      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;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      opts->tensor_id_data.push_back(oper_name);
      const string& oper_name_str = opts->tensor_id_data.back();
      opts->opts.return_tensors.emplace_back(oper_name_str, index);
    }
    
    int TF_ImportGraphDefOptionsNumReturnOutputs(
        const TF_ImportGraphDefOptions* opts) {
      return opts->opts.return_tensors.size();
    }
    
    void TF_ImportGraphDefOptionsAddReturnOperation(TF_ImportGraphDefOptions* opts,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top