Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for jit (0.13 sec)

  1. tensorflow/c/c_api_experimental.cc

        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
        flags->tf_xla_cpu_global_jit = true;
        flags->tf_xla_min_cluster_size = 1;
      } else {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::OFF);
      }
    }
    
    unsigned char TF_SetXlaEnableLazyCompilation(unsigned char enable) {
      tensorflow::BuildXlaOpsPassFlags* flags =
    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)
  2. tensorflow/c/c_api_experimental.h

    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // When `enable` is true, set
    // tensorflow.ConfigProto.OptimizerOptions.global_jit_level to ON_1, and also
    // set XLA flag values to prepare for XLA compilation. Otherwise set
    // 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.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
     *
     * <p>Here's an example that uses a user-defined finalization predicate:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_internal.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/c/tf_tensor_internal.h"
    #include "tensorflow/compiler/jit/variable_info.h"
    #include "tensorflow/compiler/jit/variable_info_util.h"
    #include "xla/pjrt/c/pjrt_c_api.h"
    #include "xla/pjrt/c/pjrt_c_api_helpers.h"
    #include "xla/pjrt/pjrt_c_api_client.h"
    #include "xla/pjrt/pjrt_client.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
     *
     * <p>Here's an example that uses a user-defined finalization predicate:
     *
     * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/c/BUILD

            "//tensorflow/c/eager:tfe_context_internal",
            "//tensorflow/c/eager:tfe_op_internal",
            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "//tensorflow/compiler/jit:flags",
            "//tensorflow/compiler/jit:get_compiler_ir",
            "//tensorflow/core:core_cpu",
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      virtual void SetLogDevicePlacement(bool enable) = 0;
    
      // Enables running eager ops as functions.
      virtual void SetRunEagerOpAsFunction(bool enable) = 0;
    
      // Enables rewriting jit_compile functions.
      virtual void SetJitCompileRewrite(bool enable) = 0;
    
      // Sets the device placement policy for the current thread.
      virtual void SetThreadLocalDevicePlacementPolicy(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

          /*device_mgr_owned*/ true, std::move(r),
          /*cluster_flr=*/nullptr,
          /*collective_executor_mgr=*/nullptr,
          /*run_eager_op_as_function=*/opts->run_eager_op_as_function,
          /*jit_compile_rewrite=*/opts->jit_compile_rewrite);
    #if !defined(IS_MOBILE_PLATFORM)
      eager_context->SetDistributedManager(
          std::make_unique<tensorflow::EagerContextDistributedManager>(
              eager_context));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. tensorflow/c/eager/BUILD

                "@com_google_absl//absl/types:variant",
            ],
        }) + select({
            "//tensorflow:with_xla_support": [
                "//tensorflow/compiler/jit",
                "//tensorflow/compiler/jit:xla_device",
                "//tensorflow/compiler/tf2xla:xla_compiler",
            ],
            "//conditions:default": [],
        }) + [
            "//tensorflow/c:tf_status_helper",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental.h

                                                           unsigned char enable,
                                                           TF_Status* status);
    
    // Enables rewrite jit_compile functions.
    TF_CAPI_EXPORT void TFE_ContextSetJitCompileRewrite(TFE_Context* ctx,
                                                        unsigned char enable,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top