Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ConfigProto (0.22 sec)

  1. tensorflow/c/c_api_experimental.h

        unsigned char should_enable);
    
    // Create a serialized tensorflow.ConfigProto proto, where:
    //
    // a) ConfigProto.optimizer_options.global_jit_level is set to ON_1 if
    // `enable_xla_compilation` is non-zero, and OFF otherwise.
    // b) ConfigProto.gpu_options.allow_growth is set to `gpu_memory_allow_growth`.
    // c) ConfigProto.device_count is set to `num_cpu_devices`.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CreateConfig(
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.h

    // Return a new options object.
    TF_CAPI_EXPORT extern TFE_ContextOptions* TFE_NewContextOptions(void);
    
    // Set the config in TF_ContextOptions.options.
    // config should be a serialized tensorflow.ConfigProto proto.
    // If config was not parsed successfully as a ConfigProto, record the
    // error information in *status.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetConfig(
        TFE_ContextOptions* options, const void* proto, size_t proto_len,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_experimental.cc

    static TF_Operation* ToTF_Operation(Node* node) {
      return static_cast<TF_Operation*>(static_cast<void*>(node));
    }
    
    void TF_EnableXLACompilation(TF_SessionOptions* options, unsigned char enable) {
      tensorflow::ConfigProto& config = options->options.config;
      auto* optimizer_options =
          config.mutable_graph_options()->mutable_optimizer_options();
      if (enable) {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_distributed_test.cc

      tensorflow::Status Run(const std::string& function_name,
                             const tensorflow::DeviceSet& device_set,
                             const tensorflow::ConfigProto& config_proto,
                             const FunctionOptions& function_options,
                             std::unique_ptr<tensorflow::Graph>* graph,
                             tensorflow::FunctionLibraryDefinition* flib_def,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

                                            const char* target);
    
    // Set the config in TF_SessionOptions.options.
    // config should be a serialized tensorflow.ConfigProto proto.
    // If config was not parsed successfully as a ConfigProto, record the
    // error information in *status.
    TF_CAPI_EXPORT extern void TF_SetConfig(TF_SessionOptions* options,
                                            const void* proto, size_t proto_len,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  6. tensorflow/c/eager/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Add a config_proto attr, to trigger grappler graph rewrites in the current
      // eager runtime.
      if (enable_grappler) {
        tensorflow::ConfigProto config;
        // Do not skip grappler optimization even for small graphs.
        config.mutable_graph_options()
            ->mutable_rewrite_options()
            ->set_min_graph_nodes(-1);
        string serialized_config;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  7. tensorflow/c/c_api.cc

                      size_t proto_len, TF_Status* status) {
      if (!options->options.config.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument("Unparseable ConfigProto");
      }
      // Disable optimizations for static graph to allow calls to Session::Extend.
      options->options.config.mutable_experimental()
          ->set_disable_optimize_for_static_graph(true);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. RELEASE.md

    * Add an option `disable_eager_executer_streaming_enqueue` to `tensorflow.ConfigProto.Experimental` to control the eager runtime's behavior around parallel remote function invocations; when set to `True`, the eager runtime will be allowed to execute multiple function invocations in parallel.
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
Back to top