- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getKeepDims (0.12 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize.cc
if (!log_op || !log_op->hasOneUse()) { return failure(); } auto sum_op = dyn_cast_or_null<TFL::SumOp>(log_op.getX().getDefiningOp()); if (!sum_op || !sum_op.getKeepDims() || !isSupportedAxis( sum_op.getAxes(), mlir::cast<ShapedType>(sum_op.getOperand(0).getType()).getRank())) { return failure(); } if (!sum_op->hasOneUse()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
if (!result_ty) return {}; // Bypass this op if the result has the same shape and type. This can happen // if the input tensor has size 0 or size 1. if (!getKeepDims() && input_ty == result_ty) { return getInput(); } return {}; } //===----------------------------------------------------------------------===// // StridedSliceOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)