- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 247 for legalize (0.21 sec)
-
tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc
// `lower_static_tensor_list` pass. return element_type->isF32() || element_type->isInteger(64) || element_type->isInteger(32) || element_type->isInteger(1); } // Only legalize TensorFlow TensorList ops if all TensorList ops are supported // natively. class LegalizeTensorListPass : public impl::LegalizeTensorListPassBase<LegalizeTensorListPass> { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 10.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
[TF_UnsortedSegmentMaxOp, TFL_UnsortedSegmentMaxOp], [TF_UnsortedSegmentMinOp, TFL_UnsortedSegmentMinOp], [TF_UnsortedSegmentProdOp, TFL_UnsortedSegmentProdOp]] in { def Legalize#UnsortedSegmentOp[0] : Pat<(UnsortedSegmentOp[0] $data, $segment_ids, $num_segments), (UnsortedSegmentOp[1] $data, (CreateTFCastToInt32Op $segment_ids),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo.mlir
// COM: This file is there to check that the `tfl-legalize-hlo` pass exists in `odml-to-stablehlo-opt`. // RUN: odml-to-stablehlo-opt %s -tfl-legalize-hlo -split-input-file | FileCheck %s --dump-input=fail func.func @main(%arg0: tensor<5x7xf32>) -> tensor<5x7xf32> { func.return %arg0: tensor<5x7xf32> // CHECK-LABEL: main // CHECK: return %arg0 : tensor<5x7xf32> } // - transpose //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 40.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
/*padding=*/state->padding, /*stride_h=*/state->stride_height, /*stride_w=*/state->stride_width); } private: // Legalize the given filter by converting it from TensorFlow filter data // format HWIO to TFLite Conv2D op filter data format OHWI and return Value // for the converted filter. Requires that filter is verified by the match
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/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir
} // ----- func.func @tf_const_invalid_proto() -> tensor<2x!tf_type.qint32> { // expected-error@+2 {{failed to get DenseElementAttr}} // expected-error@+1 {{failed to legalize operation 'tf.Const'}} %0 = "tf.Const"() { value = #tf_type<tensor_proto : "0x2532"> : tensor<2x!tf_type.qint32> } : () -> tensor<2x!tf_type.qint32> func.return %0 : tensor<2x!tf_type.qint32> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
// (either defined in TensorArrayV3 or implied in the first write). std::unique_ptr<OperationPass<ModuleOp>> CreateTensorArrayOpsDecompositionPass(); // Create a pass that legalize TFG to TF dialect. std::unique_ptr<Pass> CreateLegalizeTFGToTFEPass(); // Matches sequence of ops to TensorFlow fused kernels. This pass should not be
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K 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/tf2xla/transforms/passes.h
bool prefer_tf2xla = false); // Legalizes TF/XLA communication ops (TF dialect) to HLO dialect communication // ops. std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCommunicationPass(); // Legalizes TF/XLA collective ops (TF dialect) to HLO dialect collective // ops. std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCollectivePass();
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/tensorflow/transforms/tf_passes.td
let summary = "Transform Einsum to other TF Ops for the supported variants"; let constructor = "TF::CreateTransformEinsumPass()"; } def LegalizeTFGToTFPass : Pass<"tfe-legalize-tfg", "ModuleOp"> { let summary = "Legalize from TFG to the TFE dialect"; let constructor = "TF::CreateLegalizeTFGToTFEPass()"; } def ReplicateToIslandPass : Pass<"tf-replicate-to-island", "mlir::func::FuncOp"> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
#include "tensorflow/core/lib/math/math_util.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/util/padding.h" namespace mlir { namespace odml { namespace { #define DEBUG_TYPE "tf-legalize-hlo" #define GEN_PASS_DEF_LEGALIZEHLOTOTFPASS #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc" class LegalizeHloToTf : public impl::LegalizeHloToTfPassBase<LegalizeHloToTf> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)