Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setTarget (0.15 sec)

  1. tensorflow/c/c_api.cc

      out->options.config.mutable_experimental()
          ->set_disable_optimize_for_static_graph(true);
      return out;
    }
    void TF_DeleteSessionOptions(TF_SessionOptions* opt) { delete opt; }
    
    void TF_SetTarget(TF_SessionOptions* options, const char* target) {
      options->options.target = target;
    }
    
    void TF_SetConfig(TF_SessionOptions* options, const void* proto,
                      size_t proto_len, TF_Status* status) {
    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)
  2. tensorflow/c/c_api.h

    // target can be empty, a single entry, or a comma separated list of entries.
    // Each entry is in one of the following formats :
    // "local"
    // ip:port
    // host:port
    TF_CAPI_EXPORT extern void TF_SetTarget(TF_SessionOptions* options,
                                            const char* target);
    
    // Set the config in TF_SessionOptions.options.
    // config should be a serialized tensorflow.ConfigProto proto.
    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)
  3. tensorflow/c/c_test_util.cc

    }
    
    void CSession::SetOutputs(const std::vector<TF_Output>& outputs) {
      ResetOutputValues();
      outputs_ = outputs;
      output_values_.resize(outputs_.size());
    }
    
    void CSession::SetTargets(std::initializer_list<TF_Operation*> targets) {
      targets_.clear();
      for (TF_Operation* t : targets) {
        targets_.emplace_back(t);
      }
    }
    
    void CSession::Run(TF_Status* s) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
Back to top