Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 161 for _xla (0.04 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/BUILD

            "@com_google_absl//absl/status",
            "@com_google_googletest//:gtest_main",
            "@local_tsl//tsl/platform:statusor",
            "@local_xla//xla/client:xla_computation",
            "@local_xla//xla/service:hlo_proto_cc",
        ],
    )
    
    cc_library(
        name = "mlir_pass_instrumentation",
        srcs = ["mlir_pass_instrumentation.cc"],
        hdrs = ["mlir_pass_instrumentation.h"],
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    #include "tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.h"
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "tensorflow/compiler/tf2xla/xla_helpers.h"
    #include "xla/client/client_library.h"
    #include "xla/stream_executor/platform_manager.h"
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    #include "tensorflow/core/lib/monitoring/test_utils.h"
    #include "tensorflow/core/platform/env.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_compiler.h

    namespace tensorflow {
    
    // Compiles/lowers a given Tensorflow graph/function/cluster into a compiled XLA
    // compilation (HLO) using the XlaCompiler and compiles the resulting
    // XlaCompilationResult into an `ExecutableType` (eg. xla::LocalExecutable) by
    // calling `ClientType` (eg. xla::LocalClient).
    //
    // Caches the compiled XlaCompilationResult and Executable using a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

        return "quant-replace-cast-hacks-with-tf-xla-ops";
      }
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Replace mixed-type Conv and Matmul cast hacks with TF XLA ops.";
      }
    
      void runOnOperation() override;
    };
    
    // Generates params for the XLA Convolution op.
    void PrepareXlaConvParams(OpBuilder &builder, Location loc, ArrayAttr strides,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    // Checks if a device string is a TPU replicated core device.
    bool IsTPUReplicatedCore(llvm::StringRef device);
    
    // Checks if `type` is allowed for XLA. String and resources are not XLA types.
    // There are other TF types that are not XLA types which will be removed by
    // successive passes in TF/XLA bridge phase 2.
    bool TypeValidForXLA(const mlir::Type& type);
    
    // Returns the map from core to the host that is associated with the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

    }
    
    def XlaInlineDeviceOpsPass : Pass<"tf-xla-inline-device-ops", "ModuleOp"> {
      let summary = "Inline all Cluster op based in the parent region";
      let constructor = "TFDevice::CreateXlaInlineDeviceOpsPass()";
      let dependentDialects = ["tf_device::TensorFlowDeviceDialect"];
    }
    
    def XlaRewritePass : Pass<"tf-xla-rewrite", "mlir::ModuleOp"> {
      let summary = "Rewrites partition calls into Xla launch ops to make the attached function run on XLA.";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

    #include "tensorflow/compiler/mlir/tf2xla/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    #include "xla/mlir_hlo/mhlo/transforms/rewriters.h"
    #include "xla/mlir_hlo/mhlo/utils/type_conversion.h"
    #include "tensorflow/core/lib/monitoring/counter.h"
    
    namespace mlir {
    namespace mhlo {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h"
    #include "xla/client/sharding_builder.h"
    #include "xla/xla_data.pb.h"
    #include "tsl/platform/errors.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

    #include "tensorflow/compiler/tf2xla/layout_util.h"
    #include "tensorflow/compiler/tf2xla/xla_helpers.h"
    #include "xla/client/client_library.h"
    #include "xla/shape.h"
    #include "xla/stream_executor/platform_manager.h"
    #include "xla/translate/mhlo_to_hlo/type_to_shape.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

          llvm::cl::desc("Choose target opset."),
          llvm::cl::values(
              clEnumValN(OpSet::TF, "TF",
                         "Uses TF ops that mimic quantization behavior"),
              clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"),
              clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED",
                         "Uses TF Uniform Quantized ops"))};
    
      // Initialize for tests.
      void initializeForTest() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top