Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_ImportGraphDefOptionsSetDefaultDevice (0.36 sec)

  1. tensorflow/c/c_api.h

    // Set the execution device for nodes in `graph_def`.
    // Only applies to nodes where a device was not already explicitly specified.
    // `device` is copied and has no lifetime requirements.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetDefaultDevice(
        TF_ImportGraphDefOptions* opts, const char* device);
    
    // Set whether to uniquify imported operation names. If true, imported operation
    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.cc

      delete opts;
    }
    void TF_ImportGraphDefOptionsSetPrefix(TF_ImportGraphDefOptions* opts,
                                           const char* prefix) {
      opts->opts.prefix = prefix;
    }
    void TF_ImportGraphDefOptionsSetDefaultDevice(TF_ImportGraphDefOptions* opts,
                                                  const char* device) {
      opts->opts.default_device = device;
    }
    
    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