Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for HLO (0.02 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

        "mlir::TFL::TFLDialect",
      ];
    }
    
    def LegalizeHloToTfPass : Pass<"tf-legalize-hlo", "ModuleOp"> {
      let summary = "Legalize from MHLO to the TF dialect";
      let dependentDialects = ["TF::TensorFlowDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfPass()";
    }
    
    def LegalizeHloToTfLitePass : Pass<"tfl-legalize-hlo", "mlir::ModuleOp"> {
      let summary = "Legalize from MHLO to the TFLite dialect";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.h

    #include "tensorflow/core/tpu/kernels/tpu_compile.pb.h"
    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    
    // Compiles the given Tensorflow graph into xla::HLO. The result is in
    // compilation_result. If the input computation is in MLIR, it will be
    // converted to a Tensorflow graph. Otherwise, the graph compiler will be run.
    absl::Status CompileTensorflowGraphToHlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/get_compiler_ir.cc

      auto is_tfrt_tpu_supported_stage = [](IrExportStage stage) {
        return stage == IrExportStage::HLO ||
               stage == IrExportStage::HLO_NO_METADATA ||
               stage == IrExportStage::HLO_SERIALIZED;
      };
      // TODO(b/238830423): support GetCompilerIr on TFRT TPU device for stages
      // that requires compilation from HLO to executable.
      if (device_type != DEVICE_CPU && stream == nullptr &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_to_hlo_pipeline/sccp-post-shape-inference.mlir

    // RUN: tf-opt -tf-to-hlo-pipeline %s | FileCheck %s
    
    // Verifies that constants generated post shape inference are propagated.
    // get_shape result in this test.
    module attributes {tf.versions = {producer = 179 : i32}} {
    
      // CHECK-LABEL: func @main
      func.func @main(%arg0: tensor<10x19xf32>, %arg1: tensor<19x10xf32> {mhlo.is_same_data_across_replicas = true}) -> tensor<?xi64> {
        %0 = "tf.Shape"(%arg0) : (tensor<10x19xf32>) -> tensor<2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 25 02:54:34 UTC 2023
    - 1020 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.td

      let summary = "Verifies that all TF quant ops and types have been legalized.";
    
      let description = [{
        Ensures that all TF quant ops and types have been legalized to HLO
        and reports an error about which op failed to legalize. This pass
        does not transform any ops and is checking.}];
    
      let constructor = "mlir::quant::stablehlo::CreateVerifyQuantLegalizationPass()";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/get_compiler_ir.h

    #include "tensorflow/core/platform/statusor.h"
    
    namespace tensorflow {
    
    class ProcessFunctionLibraryRuntime;
    class Device;
    class Tensor;
    class TensorHandle;
    class EagerContext;
    
    enum class IrExportStage {
      HLO,
      HLO_NO_METADATA,
      HLO_SERIALIZED,
      OPTIMIZED_HLO,
      OPTIMIZED_HLO_SERIALIZED,
      OPTIMIZED_HLO_PROTO_SERIALIZED,
      OPTIMIZED_HLO_DOT
    };
    
    struct ArgShapeAndDType {
      TensorShape shape;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/constant-folding.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=10,19:19,10 -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    
    module attributes {tf.versions = {producer = 179 : i32}} {
      func.func @main(%arg0: tensor<10x19xf32>, %arg1: tensor<19x10xf32> {mhlo.is_same_data_across_replicas = true}) -> tensor<10x19xf32> {
        %0 = "tf.Shape"(%arg0) : (tensor<10x19xf32>) -> tensor<2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 25 02:54:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.h

    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    // Legalize the given MLIR module to XLA HLO using a combination of the MLIR
    // Bridge and XlaBuilder
    absl::StatusOr<XlaCompilationResult> LegalizeTfToHlo(
        const tpu::MlirToHloArgs& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

    #include "tensorflow/compiler/tf2xla/xla_op_registry.h"
    #include "xla/client/xla_builder.h"
    #include "xla/client/xla_computation.h"
    #include "xla/hlo/ir/hlo_instruction.h"
    #include "xla/hlo/ir/hlo_opcode.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    #include "xla/service/hlo.pb.h"
    #include "xla/translate/hlo_to_mhlo/hlo_function_importer.h"
    #include "xla/translate/hlo_to_mhlo/hlo_to_mlir_hlo.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/tests/device_compiler_test_helper.h

      // compilation. Returns an error if the results between the two do not match.
      Status ExecuteWithBatch(const GraphDef& graph, int batch);
    
      // Adds the suffix "_altered" to the HLO module names of all of the persistent
      // XLA compilation cache entries found at the specified directory. If none are
      // found, returns NOT_FOUND error.
      Status AlterPersistentCacheEntryHloModuleNames(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top