Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for livable (0.22 sec)

  1. tensorflow/c/c_api.cc

    TF_SessionOptions* TF_NewSessionOptions() {
      TF_SessionOptions* out = new TF_SessionOptions;
      // Disable optimizations for static graph to allow calls to Session::Extend.
      out->options.config.mutable_experimental()
          ->set_disable_optimize_for_static_graph(true);
      return out;
    }
    void TF_DeleteSessionOptions(TF_SessionOptions* opt) { delete opt; }
    
    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_experimental.cc

    }
    
    unsigned char TF_GetXlaConstantFoldingDisabled() {
      return static_cast<unsigned char>(
          tensorflow::GetBuildXlaOpsPassFlags()->tf_xla_disable_constant_folding);
    }
    
    void TF_SetXlaConstantFoldingDisabled(unsigned char should_enable) {
      tensorflow::GetBuildXlaOpsPassFlags()->tf_xla_disable_constant_folding =
          static_cast<bool>(should_enable);
    }
    
    void TF_SetXlaMinClusterSize(int size) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_DeleteContext(ctx);
      TF_DeleteStatus(status);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server1.release();
      worker_server2.release();
    
      // Disable the test graph pass so it does not affect other test cases.
      GraphErrorInjectionPass::enabled_ = false;
    }
    
    string VariableAddFunctionWithGraphError() {
      string signature = VariableAddFunctionSignature();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

      TFE_TensorHandle* hcpu = TestMatrixTensorHandle(ctx);
      TF_Tensor* t = TFE_TensorHandleResolve(hcpu, status.get());
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
      // Disable the test if no GPU is present.
      string gpu_device_name;
      if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
        TFE_TensorHandle* hgpu = TFE_TensorHandleCopyToDevice(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      int device_id = TFE_TensorHandleDeviceID(hcpu, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      ASSERT_EQ(0, device_id) << device_id;
    
      // Disable the test if no GPU is present.
      string gpu_device_name;
      if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
        TFE_TensorHandle* hgpu = TFE_TensorHandleCopyToDevice(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/experimental/grappler/grappler.cc

        const TP_OptimizerConfigs tp_configs, const char* device_type) {
      ConfigList configs;
      // disable_model_pruning is turned off by default.
      if (tp_configs.disable_model_pruning == TF_TriState_On)
        configs.disable_model_pruning = true;
      else
        configs.disable_model_pruning = false;
      // The other configs are turned on by default.
      CONFIG_TOGGLE(implementation_selector);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
Back to top