Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for XLA_CPU_JIT (0.12 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

      explicit Tf2XlaRewriterTestPeer(mlir::Operation* op)
          : op_builder_(op),
            empty_rewriter_(op_builder_),
            tf2xla_rewriter_(op, empty_rewriter_,
                             /*device_type=*/"XLA_CPU_JIT") {}
    
      absl::StatusOr<TupleOp> ImportXlaComputationIntoModule(
          XlaComputation& computation) {
        return tf2xla_rewriter_.ImportXlaComputation(computation);
      }
    
     private:
      OpBuilder op_builder_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    //     eliminates the use of resource variables.
    //   . Legalizes the operations to XLA HLO operations.
    //   . Canonicalizes the XLA HLO operations.
    //
    // device_type: XLA JIT device to use for compilation such as "XLA_CPU_JIT",
    //   "XLA_GPU_JIT" or "XLA_TPU_JIT".
    // 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

          ParseArgumentShapes(mlir::StringRefToView(input_shapes), arg_shapes);
      if (!args_status.ok()) {
        LOG(ERROR) << args_status;
        return mlir::failure();
      }
    
      auto device_type = "XLA_CPU_JIT";
      llvm::MutableArrayRef<std::unique_ptr<mlir::Pass>>
          custom_legalization_passes{};
      XlaCompilationResult compilation_result;
      auto compilation_status =
          via_builder
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

    // RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT legalize-chlo=false use-tf2xla-fallback=true prefer-tf2xla=true" %s | FileCheck %s
    // RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT legalize-chlo=false prefer-tf2xla=true" %s | FileCheck --check-prefix NOFALLBACK %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    
    // CHECK-LABEL: @abs
    func.func @abs(%arg0: tensor<2xf32>) -> tensor<2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_device.h

        // The name of the XLA device (e.g., "XLA_CPU")
        string device_name;
    
        // The number of the device.
        int device_ordinal = -1;
    
        // The name of the compilation device (e.g., "XLA_CPU_JIT");
        string compilation_device_name;
    
        // If 'use_multiple_streams' is true, we create separate streams for
        // compute, host-to-device, and device-to-host communication.
        bool use_multiple_streams = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      absl::StatusOr<XlaCompiler::CompilationResult> compile_result =
          LegalizeMlirToHlo(function_to_hlo_args, metadata_proto, use_tuple_args,
                            /*device_type=*/"XLA_CPU_JIT",
                            custom_legalization_passes,
                            /*shape_determination_fns=*/{}, arg_shapes,
                            &arg_core_mapping, &per_core_arg_shapes, client);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

    // RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT prefer-tf2xla=true use-tf2xla-fallback=true" %s -verify-diagnostics -mlir-disable-threading  | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
      // CHECK-LABEL: binary_op
      func.func @binary_op(%arg0: tensor<2xf32>, %arg1: tensor<2xf32>) -> tensor<2xf32> {
        // CHECK: mhlo.atan2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          "Convert TF dialect to HLO dialect (used for compilation in bridge).",
          [](mlir::OpPassManager& pm) {
            tensorflow::CreateConvertMlirToXlaHloPipeline(
                pm, /*device_type=*/"XLA_CPU_JIT", /*enable_op_fallback=*/false,
                /*custom_legalization_passes=*/{});
          });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top