- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 156 for legalized (0.47 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
def : Pat<(MHLO_ConstantOp:$output $value), (TF_ConstOp $value), [(TF_Tensor $output)]>; //===----------------------------------------------------------------------===// // Binary op patterns. // Note that these are legalized from chlo.broadcast_* ops, since those are // semantically compatible with the corresponding TF ops. Depending on // context, getting to these ops may require some raising.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
// This transformation pass converts operations in TensorFlow dialect into // operations that are legal in the TensorFlow Lite dialect. Operations that // can be legalized to TensorFlow Lite dialect with simple replacements are part // of this pass and other operations that may create extra ops should be part of // the PrepareTF pass which should be run before this pass. That way any
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
lower_to_xla_hlo); if (lower_to_xla_hlo) { // This pass operates on MHLO control flow ops so it should be legalized // after the control flow ops are legalized. pm.addPass(mlir::mhlo::CreateLegalizeTFCommunicationPass()); // Everything should be MHLO after this. if (!allow_partial_conversion) { pm.addNestedPass<mlir::func::FuncOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
} def TFR_TFRQuantRescaleOp : TFR_Op<"quant_rescale", [Pure]> { let description = [{ The `quant_rescale` rescales the elements of the integer tensor by the floating-point rescale factor. This op needs to be legalized to the preferred operations of the backends. Example: ```mlir %3 = tfr.quant_rescale(%2, %1, %0) : (tfr.tensor, tfr.tensor, i64) -> (tfr.tensor) ``` }];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
==============================================================================*/ // This transformation pass prepares for legalization to the TFLite dialect by // converting operations in TensorFlow dialect into operations that can be // legalized to TensorFlow Lite dialect with simple replacements. The newly // created operations are in the TensorFlow dialect if the operation can be // represented using a TensorFlow op. Otherwise, TensorFlow Lite dialect op is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir
// RUN: tf-opt --tfl-legalize-tf-while %s -o - | FileCheck %s // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline='default-pipeline=''' | FileCheck %s --check-prefix=INLINE // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline | FileCheck %s --check-prefix=CANON
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir
// RUN: tf-opt %s -split-input-file -tfl-legalize-variables-tf --cse | FileCheck %s // Test for case with no session initialize op. module attributes {tf_saved_model.semantics} { // CHECK-LABEL: serving_default func.func @serving_default(%arg0: tensor<1x10xf32> {tf_saved_model.index_path = ["x"]}) ->
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-vhlo.mlir
// RUN: odml-to-stablehlo-opt %s --stablehlo-legalize-vhlo -split-input-file | FileCheck %s // RUN: odml-to-stablehlo-opt --stablehlo-legalize-vhlo %s | odml-to-stablehlo-opt --vhlo-legalize-stablehlo > %t.0 // RUN: odml-to-stablehlo-opt %s > %t.1 // RUN: diff %t.0 %t.1 // CHECK-LABEL: op_tfl func.func @op_tfl(%arg0 : tensor<f32>) -> (tensor<f32>) { // CHECK: %0 = tfl.add %arg0, %arg0 {fused_activation_function = "NONE"} : tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 07 22:39:35 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// This transformation pass prepares for legalization to the TFLite dialect by // converting Tensorlist operations in TensorFlow dialect into operations that // can be legalized to TensorFlow Lite dialect with simple replacements. The // newly created operations are in the TensorFlow dialect if the operation can // be represented using a TensorFlow op. Otherwise, TensorFlow Lite dialect op // is used.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/stablehlo-custom-call-legalize-composite.mlir
// RUN: odml-to-stablehlo-opt %s -stablehlo-custom-call-legalize-composite | FileCheck %s // CHECK-LABEL: module module { // CHECK-LABEL: @main func.func @main(%arg0: tensor<1xf32>, %arg1: tensor<2xf32>) { // CHECK: stablehlo.custom_call @foo stablehlo.custom_call @foo() : () -> () // CHECK-NOT: stablehlo.custom_call
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 19:49:44 UTC 2024 - 1009 bytes - Viewed (0)