Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 194 for computations (0.24 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

           * to a valid final state ({@link #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}).
           *
           * @param v the value to set as the result of the computation.
           * @param t the exception to set as the result of the computation.
           * @param finalState the state to transition to.
           */
          private boolean complete(@Nullable V v, @Nullable Throwable t, int finalState) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *   <li>To get uninterruptibility and remove checked exceptions, use {@link
       *       Futures#getUnchecked}.
       * </ul>
       *
       * @throws ExecutionException if the computation threw an exception
       * @throws CancellationException if the computation was cancelled
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

        std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
    
        tpu::TPUCompileMetadataProto metadata_proto;
        std::vector<TensorShape> arg_shapes;
        if (computation.index() == 0) {
          TF_RETURN_IF_ERROR(tensorflow::tf2xla::internal::ConfigureMetadata(
              std::get<0>(computation).mlir_module, arg_shapes, metadata_proto));
        }
    
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/codegen.cc

    {{DECLS_FROM_OBJ_FILE}}
    
    {{NS_START}}
    // {{CLASS}} represents a computation previously specified in a
    // TensorFlow graph, now compiled into executable code. This extends the generic
    // XlaCompiledCpuFunction class with statically type-safe arg and result
    // methods. Usage example:
    //
    //   {{CLASS}} computation;
    //   // ...set args using computation.argN methods
    //   CHECK(computation.Run());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    // use_tuple_args: when this is true, always create a tuple argument for the
    //   entry computation.
    // enable_op_fallback: when this is true, prefer tf2xla fallback kernels over
    // MLIR
    //   native kernels for legalization to HLO.
    // return_tuple: when this is true, always create a tuple result for the
    //   entry computation.
    // shape_determination_fns: Contains layout preference fn and shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    // supports float types. tf.round with integer input type will become an
    // identity op, so we will never face an mhlo.floor with an integer input type.
    // The pattern matched executes the following computation:
    // frac = x - floor(x)
    // to_even = (floor(x) - 2 * floor(0.5 * x)) == 1
    // if frac > 0.5 || (frac == 0.5 && to_even)
    //   return floor(x) + 1
    // else
    //   return floor(x)
    def : Pat<(MHLO_SelectOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *   <li>To get uninterruptibility and remove checked exceptions, use {@link
       *       Futures#getUnchecked}.
       * </ul>
       *
       * @throws ExecutionException if the computation threw an exception
       * @throws CancellationException if the computation was cancelled
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util.h

    // For case 3, we need to create a PjRtBuffer from the raw device mem pointer,
    // and we need to ensure the PjRtBuffer persists till XLA computation is
    // complete. Therefore we put the newly created PjRtBuffer into `owned_args`.
    // Caller is responsible to ensure `owned_args` lives till the end of XLA
    // computation.
    Status PreparePjRtExecutableArguments(
        int num_missing_prefix_ctx_inputs, const std::vector<int>& input_mapping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      }
    
     private:
      std::unique_ptr<DeviceMgr> device_mgr_;
      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr_;
    };
    
    TEST_F(ExtractOutsideCompilationForFunctionTest, Basic) {
      // Build the XLA computation func.
      // "const0"
      // "identity0" = "const0" (outside compilation cluster "0")
      // "identity1" = "identity0" (outside compilation cluster "1")
      // "identity2" = "identity1"
      FunctionDefLibrary fdl;
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_compile_on_demand_op.cc

    XlaCompiler::CompileOptions GetCompileOptions(bool for_pjrt = false) {
      XlaCompiler::CompileOptions compile_options;
      compile_options.is_entry_computation = true;
      // Optimization: where possible, have the computation return a naked array
      // rather than a one-element tuple.
      compile_options.always_return_tuple = false;
      if (for_pjrt) {
        compile_options.use_tuple_arg = false;
        compile_options.always_return_tuple = true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top