Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_ImportGraphDefOptionsSetDefaultDevice (1.03 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
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  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;
    }
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top