Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_DeleteImportGraphDefOptions (0.2 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(0, TF_OperationGetControlOutputs(neg, control_ops, 100));
    
      // Import it again, with an input mapping, return outputs, and a return
      // operation, into the same graph.
      TF_DeleteImportGraphDefOptions(opts);
      opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported2");
      TF_ImportGraphDefOptionsAddInputMapping(opts, "scalar", 0, {scalar, 0});
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      }
      status->status = MessageToBuffer(versions, output_version_def);
    }
    
    TF_ImportGraphDefOptions* TF_NewImportGraphDefOptions() {
      return new TF_ImportGraphDefOptions;
    }
    void TF_DeleteImportGraphDefOptions(TF_ImportGraphDefOptions* opts) {
      delete opts;
    }
    void TF_ImportGraphDefOptionsSetPrefix(TF_ImportGraphDefOptions* opts,
                                           const char* prefix) {
    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.h

    // TF_GraphImportGraphDef.
    typedef struct TF_ImportGraphDefOptions TF_ImportGraphDefOptions;
    
    TF_CAPI_EXPORT extern TF_ImportGraphDefOptions* TF_NewImportGraphDefOptions(
        void);
    TF_CAPI_EXPORT extern void TF_DeleteImportGraphDefOptions(
        TF_ImportGraphDefOptions* opts);
    
    // Set the prefix to be prepended to the names of nodes in `graph_def` that will
    // be imported into `graph`. `prefix` is copied and has no lifetime
    // requirements.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top