Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ImportGraphDefOptionsAddReturnOutput (0.19 sec)

  1. tensorflow/c/c_api.h

    // `oper_name` is copied and has no lifetime requirements.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsAddReturnOutput(
        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);
    
    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

      opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported2");
      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");
    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

    extern void TF_ImportGraphDefOptionsAddControlDependency(
        TF_ImportGraphDefOptions* opts, TF_Operation* oper) {
      opts->opts.control_dependencies.push_back(oper->node.name());
    }
    
    void TF_ImportGraphDefOptionsAddReturnOutput(TF_ImportGraphDefOptions* opts,
                                                 const char* oper_name, int index) {
      opts->tensor_id_data.push_back(oper_name);
    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