- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for HLO (0.04 sec)
-
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) -
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) -
tensorflow/compiler/mlir/tf2xla/transforms/passes.h
RewritePatternSet* patterns); /// Converts the provided Operation as well as all nested operations into HLO /// dialect using the conversion patterns registered by the HLO dialect. When /// allow_partial_conversion is false, emits an error if there is any operation /// that can't be legalized. /// When `tf2xla_fallback_device_type` is not `None`, also uses legalization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc
} tensorflow::XlaCompilationResult CreateXlaComputationResult( const char* hlo_name) { auto result = tensorflow::XlaCompilationResult(); xla::HloModuleProto hlo; hlo.set_name(hlo_name); result.computation = std::make_shared<xla::XlaComputation>(hlo); return result; } TEST(TestUtil, ComputationContainsOk) { constexpr char arbitrary_hlo[] = "arbitrary_hlo"; auto result = CreateXlaComputationResult(arbitrary_hlo);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc
compilation_result.get()); if (combined_bridge_status.ok()) { VLOG(1) << "Successfully compiled MLIR computation to XLA HLO using " "Combined MLIR and XlaBuilder Bridge."; DumpHloCompilationResult("legalize_tf_combined_bridge.hlo", compilation_result.get()) .IgnoreError(); return *compilation_result; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 00:40:46 UTC 2024 - 6.8K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h
#include "tsl/platform/statusor.h" namespace tensorflow { namespace tf2xla { namespace v2 { // Legalizes the given mlir::Module into XLA HLO. If successful, returns the // compiled XLA HLO. V1 of the tf2xla uses MLIR whereas V0 does not use MLIR. // // Inputs: // computation - The MLIR module op. It currently takes in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 07:32:57 UTC 2024 - 2.9K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h
std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass(); // Adds the HLO to TF rewrite patterns to the specified pattern list. void PopulateLegalizeHloToTfPatterns(RewritePatternSet* patterns, MLIRContext* context); // Adds the HLO to TFLite rewrite patterns to the specified pattern list. void PopulateLegalizeHloToTFLitePatterns(RewritePatternSet* patterns,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
}; // Converts tf.RandomShuffle op into a series of XLA HLO ops. // // tf.RandomShuffle shuffles tensors along the first dimension. If the input // tensor's rank is 1, then it is translated into HLO sort op(s) according to // indices randomly generated via HLO rng_uniform ops. Otherwise, it is // translated into an HLO while op to first emulate shuffling indices using // HLO dynamic_slice and dynamic_update_slice ops, then finally HLO gather
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)