Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 198 for _xla (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/status/status.h"
    #include "tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h"
    #include "tensorflow/compiler/tf2xla/xla_helpers.h"
    #include "xla/client/xla_computation.h"
    #include "xla/service/hlo.pb.h"
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    #include "tensorflow/core/lib/monitoring/counter.h"
    #include "tsl/platform/statusor.h"
    
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

    #include "tensorflow/c/experimental/stream_executor/stream_executor.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "xla/stream_executor/executor_cache.h"
    #include "xla/stream_executor/platform.h"
    #include "xla/stream_executor/stream_common.h"
    #include "xla/stream_executor/stream_executor.h"
    #include "tsl/platform/statusor.h"
    
    namespace stream_executor {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tools/stablehlo_quant_opt.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    #include "xla/mlir_hlo/mhlo/IR/register.h"
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    #include "tensorflow/core/ir/types/dialect.h"
    
    int main(int argc, char** argv) {
      tensorflow::InitMlir y(&argc, &argv);
    
      mlir::registerAllPasses();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 07:37:34 UTC 2024
    - 3.6K 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