Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_CreateConfig (0.17 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config(
          TF_CreateConfig(
              /*enable_xla_compilation=*/false,
              /*gpu_memory_allow_growth=*/true, /*num_cpu_devices=*/2),
          TF_DeleteBuffer);
      TFE_ContextOptionsSetConfig(opts.get(), config->data, config->length,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config(
          TF_CreateConfig(
              /*xla*/ false,
              /* gpu_memory_allow_growth */ true, /* num_cpu_devices */
              2),
          TF_DeleteBuffer);
      TFE_ContextOptionsSetConfig(opts.get(), config->data, config->length,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.h

    // global_jit_level to OFF.
    //
    // This and the next API are syntax sugar over TF_SetConfig(), and is used by
    // clients that cannot read/write the tensorflow.ConfigProto proto.
    // TODO: Migrate to TF_CreateConfig() below.
    TF_CAPI_EXPORT extern void TF_EnableXLACompilation(TF_SessionOptions* options,
                                                       unsigned char enable);
    
    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)
  4. tensorflow/c/c_api_experimental.cc

    }
    
    void TF_SetXlaMinClusterSize(int size) {
      tensorflow::MarkForCompilationPassFlags* flags =
          tensorflow::GetMarkForCompilationPassFlags();
      flags->tf_xla_min_cluster_size = size;
    }
    
    TF_Buffer* TF_CreateConfig(unsigned char enable_xla_compilation,
                               unsigned char gpu_memory_allow_growth,
                               unsigned int num_cpu_devices) {
      tensorflow::ConfigProto config;
    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)
Back to top