- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getComparisonDirection (0.35 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc
if (!value_gt || value_gt.getComparisonDirection() != compare_direction || value_gt.getLhs() != body.getArgument(0) || value_gt.getRhs() != body.getArgument(2)) return failure(); mhlo::CompareOp value_ne = llvm::dyn_cast_or_null<mhlo::CompareOp>( value_or.getRhs().getDefiningOp()); if (!value_ne || value_ne.getComparisonDirection() != mhlo::ComparisonDirection::NE ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
auto return_op = dyn_cast_or_null<ReturnOpType>(&operations.back()); if (!compare_op || !return_op) return false; // TODO(xuanyuanluo): Support mhlo::ComparisonDirection::LT direction. if (compare_op.getComparisonDirection() != mhlo::ComparisonDirection::GT) { return false; } if (compare_op.getOperands()[0] != comparator_blk.getArgument(0) || compare_op.getOperands()[1] != comparator_blk.getArgument(1)) {
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/flatbuffer_export.cc
builder_, static_cast<tflite::StablehloComparisonDirection>( mlir::cast<mlir::vhlo::ComparisonDirectionV1Attr>( vhlo_op.getComparisonDirection()) .getValue()), compare_type); return tflite::CreateOperator( builder_, opcode_index, builder_.CreateVector(operands),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)