Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for computations (0.21 sec)

  1. tensorflow/compiler/aot/test_google.cc

    // clang-format on
    
    namespace tensorflow {
    namespace tfcompile {
    namespace {
    
    void zero_buffers(XlaCompiledCpuFunction* computation) {
      for (int i = 0; i < computation->num_args(); ++i) {
        memset(computation->arg_data(i), 0, computation->arg_size(i));
      }
    }
    
    // Trivial test that runs the generated function to ensure it doesn't crash.
    TEST(TEST_NAME, NoCrash) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/core-runtime/functional/src/main/java/org/gradle/internal/serialization/Cached.java

            private Callable<T> computation;
            private Try<T> result;
    
            public Deferred(Callable<T> computation) {
                this.computation = computation;
            }
    
            @Override
            public T get() {
                return result().get();
            }
    
            private Try<T> result() {
                if (result == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/test.cc

    // clang-format on
    
    namespace tensorflow {
    namespace tfcompile {
    namespace {
    
    void zero_buffers(XlaCompiledCpuFunction* computation) {
      for (int i = 0; i < computation->num_args(); ++i) {
        memset(computation->arg_data(i), 0, computation->arg_size(i));
      }
    }
    
    // Trivial test that runs the generated function to ensure it doesn't crash.
    TEST(TEST_NAME, NoCrash) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/future.kt

    
    /**
     * Starts and exposes the given suspending [computation] as a [Future] value.
     *
     * The [computation] executes synchronously until its first suspension point.
     */
    internal
    fun <T> future(context: CoroutineContext = EmptyCoroutineContext, computation: suspend () -> T): Future<T> =
        FutureContinuation<T>(context).also { k ->
            computation.startCoroutine(completion = k)
        }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc

          /*lower_to_xla_hlo=*/true, computation, metadata, device_type,
          shape_determination_fns, use_tuple_args, compilation_result,
          custom_legalization_passes, arg_shapes, arg_core_mapping,
          per_core_arg_shapes);
    
      if (mlir_bridge_status.ok()) {
        VLOG(1) << "Successfully compiled MLIR computation to XLA HLO using MLIR "
                   "tf2xla bridge";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/benchmark_main.template

      Eigen::ThreadPool pool(1 /* num_threads */);
      Eigen::ThreadPoolDevice device(&pool, pool.NumThreads());
    
      CPP_CLASS computation;
      computation.set_thread_pool(&device);
    
      benchmark::Options options;
      benchmark::Stats stats;
      benchmark::Benchmark(options, [&] { computation.Run(); }, &stats);
      benchmark::DumpStatsToStdout(stats);
      return 0;
    }
    
    }  // namespace tfcompile
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. build-logic/uber-plugins/src/main/kotlin/gradlebuild.kotlin-library.gradle.kts

        }
    }
    
    kotlin {
        target.compilations.named("testFixtures") {
            associateWith(target.compilations["main"])
        }
        target.compilations.named("test") {
            associateWith(target.compilations["main"])
            associateWith(target.compilations["testFixtures"])
        }
        target.compilations.named("integTest") {
            associateWith(target.compilations["main"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 13:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/ops/xla_ops_grad.py

    
    @ops.RegisterGradient("XlaClusterOutput")
    def _XlaClusterOutputGrad(_, grad):
      del grad  # unused
      raise RuntimeError("Gradient computation of graph in xla.compile() is "
                         "prohibited because it can cause performance degradation."
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.cc

      LOG_FIRST_N(INFO, 1) << "Compiling MLIR computation to XLA HLO using the "
                              "Combined MLIR Tf2Xla Bridge.";
    
      absl::StatusOr<std::string> mlir_compilation =
          internal::CompileFromMlirToXlaHlo(
              /*lower_to_xla_hlo=*/false, computation, metadata, device_type,
              shape_determination_fns, use_tuple_args, compilation_result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * The listener will run when the {@code Future}'s computation is {@linkplain Future#isDone()
       * complete} or, if the computation is already complete, immediately.
       *
       * <p>There is no guaranteed ordering of execution of listeners, but any listener added through
       * this method is guaranteed to be called once the computation is complete.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top