Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for HLO (0.02 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      }
    
      func.func @non_const_inputs(%arg0: tensor<2x2xf64>, %arg1: tensor<f64>, %arg2: tensor<2xi32>, %arg3: tensor<2xi32>, %arg4: tensor<2xi32>) -> tensor<6x5xf64> {
        // expected-remark@+1 {{compilation to HLO failed: INVALID_ARGUMENT: Input 2 to node `tf.XlaPad` with op XlaPad must be a compile-time constant.}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

            custom_legalization_passes);
    
    // Compiles a Graph from TF to HLO and adds the resulting HLO to the
    // XlaBuilder. This function adds HLO to a larger HLO computation, so
    // HLO-level inputs are supplied, and HLO-level outputs are produced.
    // xla_params is the HLO-level inputs and returns is the HLO-level outputs.
    // If unconditionally_use_output_shapes is true then the unregistered
    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

    static mlir::TranslateFromMLIRRegistration MlirTfToHloTextTranslate(
        "mlir-tf-to-hlo-text", "mlir-tf-to-hlo-text",
        tensorflow::MlirTfToHloTextTranslateFunction,
        tensorflow::RegisterMlirInputDialects);
    
    static mlir::TranslateFromMLIRRegistration MlirTfToHloTextViaBuilderTranslate(
        "mlir-tf-to-hlo-text-via-builder", "mlir-tf-to-hlo-text-via-builder",
        tensorflow::MlirTfToHloTextViaBuilderTranslateFunction,
    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/transforms/legalize_tf_patterns.td

    // This pattern converts TensorFlow axis format to HLO axis format which
    // doesn't wrap around like TensorFlow and is always positive. For this
    // conversion, use the first input to get inputs rank. Other inputs need not be
    // ranked.
    // Defining op for `axis` is TensorFlow constant op in the pattern as during
    // the conversion, original Concat op operands still refers to the old ops even
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      if (tf2xla_fallback_device_type) {
        // Add TF->HLO legalization patterns via TF2XLA fallback.
        PopulateLegalizeTfWithTf2XlaPatterns(tf2xla_fallback_device_type.value(),
                                             patterns, context, converter,
                                             prefer_tf2xla);
      }
    
      // Populate with CHLO->HLO lowerings to account for TF ops legalized to
      // CHLO first.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

    }
    
    void RegisterConvertMlirToXlaHloPipelineWithDefaults() {
      static mlir::PassPipelineRegistration<> pipeline(
          "tf-to-hlo-pipeline",
          "Convert TF dialect to HLO dialect (used for compilation in bridge).",
          [](mlir::OpPassManager& pm) {
            tensorflow::CreateConvertMlirToXlaHloPipeline(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    #include "tensorflow/compiler/tf2xla/layout_util.h"
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "tensorflow/compiler/tf2xla/xla_helpers.h"
    #include "xla/client/compile_only_client.h"
    #include "xla/hlo/ir/hlo_input_output_alias_config.h"
    #include "xla/mlir_hlo/mhlo/IR/register.h"
    #include "xla/shape.h"
    #include "xla/shape_util.h"
    #include "xla/status_macros.h"
    #include "tensorflow/core/framework/function.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/BUILD

            "@local_tsl//tsl/platform:errors",
            "@local_xla//xla:shape_util",
            "@local_xla//xla:xla_data_proto_cc",
            "@local_xla//xla/client:xla_computation",
            "@local_xla//xla/hlo/ir:hlo",
            "@local_xla//xla/mlir_hlo",
            "@local_xla//xla/mlir_hlo:hlo_dialect_registration",
            "@local_xla//xla/mlir_hlo:mhlo_passes",
            "@local_xla//xla/translate/mhlo_to_hlo:layout_util",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top