- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for SelectV2Op (0.54 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc
PadOp::getOperationName(), PackOp::getOperationName(), ReadVariableOp::getOperationName(), SelectV2Op::getOperationName(), UnpackOp::getOperationName(), }) {} LogicalResult matchAndRewrite(Operation *op,
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/transforms/legalize_tf.cc
// This specialization is for TF SelectV2 op. SelectV2 op have three inputs and // they should have broadcastable shapes. template <> class ApplyExplicitBroadcasting<TF::SelectV2Op> : public OpRewritePattern<TF::SelectV2Op> { public: using OpRewritePattern<TF::SelectV2Op>::OpRewritePattern; LogicalResult rewriteOpWithDynamicInput(Operation* op, PatternRewriter& rewriter) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc
TF::IdentityNOp, TF::IdentityOp, TF::MaxPoolOp, TF::PadV2Op, TF::RankOp, TF::ReshapeOp, TF::SelectOp, TF::SelectV2Op, TF::ShapeNOp, TF::ShapeOp, TF::SizeOp, TF::SqueezeOp, TF::TransposeOp // go/keep-sorted end // clang-format on >(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
Value reflection = rewriter.create<SelectV2Op>( loc, is_finite, reflection_if_finite, neg_reflection_denom); Value result = rewriter.create<SelectV2Op>(loc, need_to_reflect, reflection, log_y); // lgamma(+/-inf) = +inf. Value is_inf = rewriter.create<IsInfOp>(loc, tensor_bool_type, input); result = rewriter.create<SelectV2Op>(loc, is_inf, infinity, result); if (needs_cast) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc
TypeID::get<TF::SegmentSumV2Op>(), TypeID::get<TF::SegmentProdV2Op>(), TypeID::get<TF::SegmentMinV2Op>(), TypeID::get<TF::SegmentMaxV2Op>(), TypeID::get<TF::SelectV2Op>(), TypeID::get<TF::SelfAdjointEigV2Op>(), TypeID::get<TF::SeluGradOp>(), TypeID::get<TF::SeluOp>(), TypeID::get<TF::SigmoidGradOp>(), TypeID::get<TF::SinOp>(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 21.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
"rank as t and e OR is a vector"; } //===----------------------------------------------------------------------===// // SelectV2Op //===----------------------------------------------------------------------===// static Type InferSelectV2OpType(Value condition, Value e, Value t) { Type element_ty = e.getType().cast<TensorType>().getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
PatternRewriter& rewriter) const override { Value pred = op.getOperand(0); Value on_true = op.getOperand(1); Value on_false = op.getOperand(2); rewriter.replaceOpWithNewOp<TFL::SelectV2Op>(op, pred, on_true, on_false); } }; // Rewrites quantized stablehlo.concatenate to tfl.concatenation. // TODO: b/322428814 - Add StableHLO quantizer integration tests for ODML.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
}; return elements_attr.mapValues(result_element_type, cast); } //===----------------------------------------------------------------------===// // SelectV2Op //===----------------------------------------------------------------------===// static void BuildSelectV2Op(Builder* builder, OperationState& result, Value cond, Value x, Value y) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)