- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for L2NormalizeReduceAxis (0.26 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
"$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegative()) || " "$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegInfinity())">>; def L2NormValidReduceIndex : Constraint<CPred< "L2NormalizeReduceAxis($0, $1.cast<DenseElementsAttr>())">>; // Currently L2Normalization doesn't support activation function // in TFLite. // TODO(karimnosseir): Add constraints that the kernel code assumes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
shape[1]}; auto new_type = RankedTensorType::get(new_shape, elements.getType().getElementType()); return elements.reshape(new_type); } bool L2NormalizeReduceAxis(Value sq_op, DenseElementsAttr axis) { if (axis.getNumElements() == 0) { return false; } if (mlir::cast<ShapedType>(sq_op.getType()).getRank() - 1 == *axis.getValues<int>().begin() ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0)