Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LegalizeTfToHlo (0.23 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.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,
        llvm::StringRef device_type,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.cc

    namespace tf2xla {
    namespace internal {
    
    using metrics::IncrementTfMlirBridgeSecondPhaseCounter;
    using metrics::MlirBridgeSecondPhaseMetric;
    using tpu::MlirToHloArgs;
    
    absl::StatusOr<XlaCompilationResult> LegalizeTfToHlo(
        const tpu::MlirToHloArgs& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
        llvm::StringRef device_type,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
      auto compilation_result = std::make_unique<XlaCompilationResult>();
    
      return LegalizeTfToHlo(mlir_to_hlo_args, metadata_proto, use_tuple_args,
                             /*device_type=*/"XLA_TPU_JIT",
                             /*shape_determination_fns=*/{}, arg_shapes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

                                 compilation_result.get())
            .IgnoreError();
        return *compilation_result;
      }
    
      auto combined_bridge_status = internal::LegalizeTfToHlo(
          std::get<0>(computation), metadata, use_tuple_args, device_type,
          shape_determination_fns, arg_shapes, arg_core_mapping,
          per_core_arg_shapes, custom_legalization_passes, client,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top