- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for notifyMatchFailure (0.24 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
return rewriter.notifyMatchFailure( concat, "Concatenate op should have at least two operands"); auto first_dot = concat.getVal()[0].getDefiningOp<mhlo::DotGeneralOp>(); if (!first_dot) return rewriter.notifyMatchFailure(concat, "Operand is not dot_general"); if (!first_dot.getLhs().getType().hasStaticShape()) return rewriter.notifyMatchFailure(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
return rewriter.notifyMatchFailure( contraction, "fused operation must be nested inside a function, If or While"); } // If the contraction is used in multiple places, fusing it will only create // more contraction nodes, which is slower. if (!contraction.getResult().hasOneUse()) return rewriter.notifyMatchFailure(contraction,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dilated_conv.h
return rewriter.notifyMatchFailure(op, "dilations should be all 1"); } if (!TFL::TFTypeIsFloat32Tensor(op.getInput()) && !TFL::TFTypeIsBFloat16OrHalfTensor(op.getInput())) { return rewriter.notifyMatchFailure( op, "op's input is not float or half or bfloat16"); } if (!TFL::TFDataFormatIsNHWC(op)) { return rewriter.notifyMatchFailure(op, "op's data format isn't NHWC"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc
DenseIntElementsAttr alg_constant; if (!matchPattern(rng_op.getAlg(), m_Constant(&alg_constant))) { return rewriter.notifyMatchFailure( op, "unable to determine algorithm statically"); } if (alg_constant.getNumElements() != 1) { return rewriter.notifyMatchFailure(op, "expected alg to be a scalar"); } uint64_t alg_value = ((*alg_constant.value_begin<APInt>()).getZExtValue());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
return rewriter.notifyMatchFailure(conv_op, "requires static shape"); mhlo::ConvDimensionNumbersAttr dnums = conv_op.getDimensionNumbers(); auto lhs_dilation = conv_op.getLhsDilation().value(); if (lhs_dilation.isSplat() && lhs_dilation.getSplatValue<int64_t>() == 1) return rewriter.notifyMatchFailure(conv_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
return rewriter.notifyMatchFailure(mul_op, [&](::mlir::Diagnostic &diag) { diag << "entities 'mul_value' failed to satisfy constraint: " "unsupported dimensions"; }); } if (!is_dynamic_broadcast && !((*conv_op.getODSResults(0).begin()).hasOneUse())) { return rewriter.notifyMatchFailure(mul_op, [&](::mlir::Diagnostic &diag) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 22:21:19 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
auto rhs_bcast_op = rhs.template getDefiningOp<mhlo::BroadcastInDimOp>(); if ((lhs_bcast_op && rhs_bcast_op) || (!lhs_bcast_op && !rhs_bcast_op)) { return rewriter.notifyMatchFailure( binary_op, "Operands should have exactly one BroadcastInDim op."); } // When the operand other than the broadcast op is not a const op, we // should not fold broadcast op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
if (!matchPattern(scales_value, m_Constant(&scales))) { return rewriter.notifyMatchFailure(op, "scales must be constant"); } // Check whether the zero_points operand has constant op. DenseIntElementsAttr zero_points; if (!matchPattern(zero_points_value, m_Constant(&zero_points))) { return rewriter.notifyMatchFailure(op, "zero_points must be constant"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
if (!(((*root.getODSResults(1).begin()).use_empty()))) { return rewriter.notifyMatchFailure( fused_batch_norm_op, [&](::mlir::Diagnostic &diag) { diag << "entities '' failed to satisfy constraint: has no use"; }); } if (!(((*root.getODSResults(2).begin()).use_empty()))) { return rewriter.notifyMatchFailure( fused_batch_norm_op, [&](::mlir::Diagnostic &diag) {
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/stablehlo/transforms/legalize_hlo_conversions/scatter.cc
// Permute updates if `update_window_dims` are leading indices. // Other possibilities for `update_window_dims` are not supported yet. if (!IsIotaAttr(update_window_dims, update_window_dims.size())) return rewriter.notifyMatchFailure( scatter_op, "update_window_dims are not leading or trailing indices"); SmallVector<int64_t, 4> permutation_array(updates_type.getRank()); int64_t dim = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 02:29:42 UTC 2023 - 3.1K bytes - Viewed (0)