- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getElseValue (0.19 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
auto then_type = mlir::dyn_cast<RankedTensorType>(op.getThenValue().getType()); auto else_type = mlir::dyn_cast<RankedTensorType>(op.getElseValue().getType()); if (!cond_type || !then_type || !else_type) { return failure(); } ImplicitLocOpBuilder b(op.getLoc(), rewriter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// first dimension equal to `cond`. LogicalResult SelectOp::verify() { SelectOp op = *this; auto then_tensor = op.getThenValue().getType().cast<TensorType>(); auto else_tensor = op.getElseValue().getType().cast<TensorType>(); // Check (1). if (!AreCastCompatible({then_tensor, else_tensor})) return op.emitOpError() << "requires t and e have compatible shapes"; // Get data rank (if exists).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)