/third_party/skia/third_party/externals/tint/src/ast/ |
D | binary_expression_test.cc | 28 auto* r = create<BinaryExpression>(BinaryOp::kEqual, lhs, rhs); in TEST_F() 31 EXPECT_EQ(r->op, BinaryOp::kEqual); in TEST_F() 39 BinaryOp::kEqual, lhs, rhs); in TEST_F() 49 auto* r = create<BinaryExpression>(BinaryOp::kEqual, lhs, rhs); in TEST_F() 57 b.create<BinaryExpression>(BinaryOp::kEqual, nullptr, b.Expr("rhs")); in TEST_F() 66 b.create<BinaryExpression>(BinaryOp::kEqual, b.Expr("lhs"), nullptr); in TEST_F() 76 b1.create<BinaryExpression>(BinaryOp::kEqual, b2.Expr("lhs"), in TEST_F() 87 b1.create<BinaryExpression>(BinaryOp::kEqual, b1.Expr("lhs"), in TEST_F()
|
D | binary_expression.h | 31 kEqual, enumerator 75 bool IsEqual() const { return op == BinaryOp::kEqual; } in IsEqual() 138 case ast::BinaryOp::kEqual: in IsComparison() 187 case BinaryOp::kEqual: in FriendlyName()
|
/third_party/mindspore/mindspore/core/ops/ |
D | batch_to_space.cc | 51 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, 1,… in BatchToSpaceInfer() 64 …(void)CheckAndConvertUtils::CheckInteger("x rank", SizeToLong(x_shape.size()), kEqual, x_rank, pri… in BatchToSpaceInfer() 65 …(void)CheckAndConvertUtils::CheckInteger("block_size size", SizeToLong(block_size.size()), kEqual,… in BatchToSpaceInfer() 67 …(void)CheckAndConvertUtils::CheckInteger("crops size", SizeToLong(crops.size()), kEqual, attr_size… in BatchToSpaceInfer() 68 …(void)CheckAndConvertUtils::CheckInteger("crops[0] size", SizeToLong(crops[0].size()), kEqual, att… in BatchToSpaceInfer() 69 …(void)CheckAndConvertUtils::CheckInteger("crops[1] size", SizeToLong(crops[1].size()), kEqual, att… in BatchToSpaceInfer() 77 … out_shape[0] % (block_size[0] * block_size[1]), kEqual, 0, prim_name); in BatchToSpaceInfer()
|
D | index_add.cc | 29 …(void)CheckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, i… in IndexAddInferShape() 38 CheckAndConvertUtils::Check("x rank", x_rank, kEqual, "y rank", y_rank, prim_name); in IndexAddInferShape() 43 (void)CheckAndConvertUtils::CheckInteger("idx size", idx_rank, kEqual, 1, prim_name); in IndexAddInferShape() 48 …CheckAndConvertUtils::Check("size of indices", idx_shape[LongToSize(0)], kEqual, "dimension of y[a… in IndexAddInferShape() 52 …CheckAndConvertUtils::Check("x dim", x_shape[LongToSize(dim)], kEqual, "y dim", y_shape[LongToSize… in IndexAddInferShape() 62 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in IndexAddInferType()
|
D | batch_norm.cc | 77 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in BatchNormInfer() 98 …(void)CheckAndConvertUtils::CheckInteger("scale rank", SizeToLong(scale.size()), kEqual, 1, prim_n… in BatchNormInfer() 99 …CheckAndConvertUtils::Check("scale shape", scale, kEqual, "bias shape", bias, prim_name, TypeError… in BatchNormInfer() 100 …CheckAndConvertUtils::Check("scale shape[0]", scale[0], kEqual, "input_x channel", input_shape_nor… in BatchNormInfer() 104 …(void)CheckAndConvertUtils::CheckInteger("mean rank", SizeToLong(mean.size()), kEqual, 1, prim_nam… in BatchNormInfer() 105 …CheckAndConvertUtils::Check("mean shape", mean, kEqual, "variance shape", variance, prim_name, Typ… in BatchNormInfer() 106 …CheckAndConvertUtils::Check("mean shape", mean, kEqual, "scale shape", scale, prim_name, TypeError… in BatchNormInfer()
|
D | sparse_apply_r_m_s_prop.cc | 33 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, 6,… in InferShape() 48 …(void)CheckAndConvertUtils::CheckInteger("size of lr_shape", SizeToLong(lr_shape.size()), kEqual, … in InferShape() 56 CheckAndConvertUtils::Check(elem.first, elem.second, kEqual, "var shape", var_shape, prim_name); in InferShape() 60 …(void)CheckAndConvertUtils::CheckInteger("indices dim", SizeToLong(indices_shape.size()), kEqual, … in InferShape() 66 …CheckAndConvertUtils::Check("indices shape", indices_shape[0], kEqual, "the first dimension of var… in InferShape() 75 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, 6,… in InferType()
|
D | apply_adagrad_d_a.cc | 33 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in InferShape() 47 …(void)CheckAndConvertUtils::CheckInteger("lr_shape size", SizeToInt(lr_shape.size()), kEqual, inpu… in InferShape() 49 …(void)CheckAndConvertUtils::CheckInteger("l1_shape size", SizeToInt(l1_shape.size()), kEqual, inpu… in InferShape() 51 …(void)CheckAndConvertUtils::CheckInteger("l2_shape size", SizeToInt(l2_shape.size()), kEqual, inpu… in InferShape() 53 …ndConvertUtils::CheckInteger("global_step_shape size", SizeToInt(global_step_shape.size()), kEqual, in InferShape() 63 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in InferType()
|
D | lstm.cc | 39 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in LstmInfer() 46 …dConvertUtils::CheckInteger("x_shape.size()", SizeToLong(x_input_shape.size()), kEqual, shape_size, in LstmInfer() 48 …(void)CheckAndConvertUtils::CheckInteger("x_shape[2]", x_input_shape[2], kEqual, input_x_size, pri… in LstmInfer() 50 …dConvertUtils::CheckInteger("h_shape.size()", SizeToLong(h_input_shape.size()), kEqual, shape_size, in LstmInfer() 52 …CheckAndConvertUtils::Check("h_shape", h_input_shape, kEqual, "c_shape", c_input_shape, prim_name); in LstmInfer() 58 …(void)CheckAndConvertUtils::CheckInteger("h_shape[0]", h_input_shape[0], kEqual, num_layers * num_… in LstmInfer() 60 …(void)CheckAndConvertUtils::CheckInteger("h_shape[1]", h_input_shape[1], kEqual, x_input_shape[1],… in LstmInfer() 61 …(void)CheckAndConvertUtils::CheckInteger("h_shape[2]", h_input_shape[2], kEqual, hidden_size, prim… in LstmInfer()
|
D | conv2d_transpose.cc | 57 …(void)CheckAndConvertUtils::CheckInteger(kKernelSize, SizeToLong(kernel_size.size()), kEqual, kern… in set_kernel_size() 66 …(void)CheckAndConvertUtils::CheckInteger(kStride, SizeToLong(stride.size()), kEqual, stride_size, … in set_stride() 87 CheckAndConvertUtils::Check(kPad, pad, kEqual, "zeros_list", {0, 0, 0, 0}, name()); in set_pad_mode() 95 …(void)CheckAndConvertUtils::CheckInteger("pad_size", SizeToLong(pad.size()), kEqual, pad_size, nam… in set_pad() 100 …(void)AddAttr(kMode, MakeValue(CheckAndConvertUtils::CheckInteger(kMode, mode, kEqual, 1, name()))… in set_mode() 114 …(void)CheckAndConvertUtils::CheckInteger(kPadList, SizeToLong(pad_list.size()), kEqual, pad_size, … in set_pad_list()
|
D | ctcloss.cc | 49 …(void)CheckAndConvertUtils::CheckInteger("inputs rank", SizeToLong(inputs_shape.size()), kEqual, i… in CheckCTCLossInputs() 50 …ndConvertUtils::CheckInteger("label_indices rank", SizeToLong(labels_indices_shape.size()), kEqual, in CheckCTCLossInputs() 52 …oid)CheckAndConvertUtils::CheckInteger("label_indices second dim", labels_indices_shape[1], kEqual, in CheckCTCLossInputs() 54 …kAndConvertUtils::CheckInteger("label_values rank", int64_t(labels_values_shape.size()), kEqual, 1, in CheckCTCLossInputs() 56 …onvertUtils::CheckInteger("sequence_length rank", int64_t(sequence_length_shape.size()), kEqual, 1, in CheckCTCLossInputs()
|
D | soft_margin_loss.cc | 31 …(void)CheckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, k… in SoftMarginLossInferShape() 34 …CheckAndConvertUtils::Check("logits shape", predict, kEqual, "labels shape", label, op_name, Value… in SoftMarginLossInferShape() 46 …(void)CheckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, k… in SoftMarginLossInferType()
|
D | lsh_projection.cc | 41 …(void)CheckAndConvertUtils::CheckInteger("input0 rank", SizeToLong(input0.size()), kEqual, input0_… in LshProjectionInfer() 47 …(void)CheckAndConvertUtils::CheckInteger("input2 rank", SizeToLong(input2.size()), kEqual, 1, op_n… in LshProjectionInfer() 48 …(void)CheckAndConvertUtils::CheckInteger("input2_shape_dimen_0", input2[0], kEqual, input1[0], op_… in LshProjectionInfer()
|
D | space_to_batch_nd.cc | 34 …(void)CheckAndConvertUtils::CheckInteger("input_x rank", SizeToLong(x_shape.size()), kEqual, shape… in InferShape() 65 …(void)CheckAndConvertUtils::CheckInteger(kPaddings, SizeToLong(paddings.size()), kEqual, pad_size,… in set_paddings() 69 …CheckAndConvertUtils::Check(kPaddings, {h, w}, kEqual, "paddings_shape(2,2)", temp_w, this->name()… in set_paddings() 84 …(void)CheckAndConvertUtils::CheckInteger(kBlockShape, SizeToLong(block_shape.size()), kEqual, bloc… in set_block_shape()
|
D | batch_to_space_nd.cc | 34 …(void)CheckAndConvertUtils::CheckInteger("input_x rank", SizeToLong(x_shape.size()), kEqual, x_ran… in InferShape() 67 …(void)CheckAndConvertUtils::CheckInteger(kCrops, SizeToLong(crops.size()), kEqual, crop_size, this… in set_crops() 71 CheckAndConvertUtils::Check(kCrops, {h, w}, kEqual, "paddings_shape(2,2)", temp_w, this->name()); in set_crops() 86 …(void)CheckAndConvertUtils::CheckInteger(kBlockShape, SizeToLong(block_shape.size()), kEqual, bloc… in set_block_shape()
|
D | depth_to_space.cc | 50 …(void)CheckAndConvertUtils::CheckInteger("input number", int64_t(input_args.size()), kEqual, 1, pr… in DepthToSpaceInfer() 63 …(void)CheckAndConvertUtils::CheckInteger("x rank", SizeToLong(x_shape.size()), kEqual, x_rank, pri… in DepthToSpaceInfer() 66 … x_shape[1] % (block_size * block_size), kEqual, 0, prim_name); in DepthToSpaceInfer()
|
D | fake_quant_with_min_max_vars_per_channel.cc | 51 CheckAndConvertUtils::Check("min shape", min_shape, kEqual, "max shape", max_shape, op_name); in FakeQuantWithMinMaxVarsPerChannelInfer() 52 …(void)CheckAndConvertUtils::CheckInteger("min shape", (int64_t)min_shape.size(), kEqual, 1, op_nam… in FakeQuantWithMinMaxVarsPerChannelInfer() 53 …CheckAndConvertUtils::Check("min shape", min_shape[0], kEqual, "x shape", x_shape[x_shape.size() -… in FakeQuantWithMinMaxVarsPerChannelInfer()
|
D | reverse_sequence.cc | 43 …(void)CheckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, i… in ReverseSequenceInfer() 57 …nvertUtils::CheckInteger("seq_lengths rank", SizeToLong(seq_lengths.size()), kEqual, 1, prim_name); in ReverseSequenceInfer() 58 (void)CheckAndConvertUtils::CheckInteger("seq_lengths vector size", seq_lengths[0], kEqual, in ReverseSequenceInfer()
|
D | adam.cc | 35 CheckAndConvertUtils::Check("var_shape", var_shape, kEqual, "m_shape", m_shape, prim_name); in AdamInfer() 36 CheckAndConvertUtils::Check("var_shape", var_shape, kEqual, "v_shape", v_shape, prim_name); in AdamInfer() 37 CheckAndConvertUtils::Check("var_shape", var_shape, kEqual, "grad_shape", grad_shape, prim_name); in AdamInfer()
|
/third_party/mindspore/mindspore/core/ops/grad/ |
D | soft_margin_loss_grad.cc | 31 …(void)CheckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, k… in SoftMarginLossGradInferShape() 35 …CheckAndConvertUtils::Check("logits shape", predict, kEqual, "labels shape", label, op_name, Value… in SoftMarginLossGradInferShape() 37 …CheckAndConvertUtils::Check("logits shape", predict, kEqual, "dout shape", dout, op_name, ValueErr… in SoftMarginLossGradInferShape() 44 …(void)CheckAndConvertUtils::CheckInteger("input numbers", SizeToLong(input_args.size()), kEqual, k… in SoftMarginLossGradInferType()
|
D | sigmoid_cross_entropy_with_logits_grad.cc | 36 … SizeToLong(input_args.size()), kEqual, input_num, prim_name); in SigmoidCrossEntropyWithLogitsGradInfer() 42 CheckAndConvertUtils::Check("x_shape", x_shape, kEqual, "y_shape", y_shape, prim_name, TypeError); in SigmoidCrossEntropyWithLogitsGradInfer() 43 …CheckAndConvertUtils::Check("x_shape", x_shape, kEqual, "dout_shape", dout_shape, prim_name, TypeE… in SigmoidCrossEntropyWithLogitsGradInfer()
|
D | hsigmoid_grad.cc | 36 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in InferShape() 44 …CheckAndConvertUtils::Check("grads_shape", grads_shape, kEqual, "input_x_shape", input_x_shape, pr… in InferShape() 51 CheckAndConvertUtils::CheckInputArgs(input_args, kEqual, input_num, prim->name()); in InferType()
|
D | hshrink_grad.cc | 32 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in HShrinkGradInferShape() 38 …CheckAndConvertUtils::Check("gradients_shape", gradients_shape, kEqual, "features_shape", features… in HShrinkGradInferShape() 46 …(void)CheckAndConvertUtils::CheckInteger("input number", SizeToLong(input_args.size()), kEqual, in… in HShrinkGradInferType()
|
D | smooth_l1_loss_grad.cc | 42 …ckAndConvertUtils::CheckInteger("smooth_l1_loss_grad_infer", SizeToLong(input_args.size()), kEqual, in SmoothL1LossGradInfer() 49 …CheckAndConvertUtils::Check("prediction shape", prediction, kEqual, "target shape", target, prim_n… in SmoothL1LossGradInfer() 50 …CheckAndConvertUtils::Check("prediction shape", prediction, kEqual, "dloss", dloss, prim_name, Typ… in SmoothL1LossGradInfer()
|
D | avg_pool_3d_grad.cc | 34 …(void)CheckAndConvertUtils::CheckInteger("input size", SizeToLong(input_args.size()), kEqual, inpu… in InferShape() 39 …(void)CheckAndConvertUtils::CheckInteger("grad_rank", SizeToLong(grad_shape.size()), kEqual, k5DIn… in InferShape() 53 …(void)CheckAndConvertUtils::CheckInteger("input size", SizeToLong(input_args.size()), kEqual, inpu… in InferType()
|
/third_party/flutter/skia/src/gpu/ |
D | GrStencilSettings.cpp | 107 GrStencilTest::kEqual, // kEqualIfInClip. 118 GrStencilTest::kEqual, 132 GR_STATIC_ASSERT(10 == (int)GrUserStencilTest::kEqual); 211 fTest = GrStencilTest::kEqual; in reset() 242 GrUserStencilTest::kEqual, 288 GrUserStencilTest::kEqual, 310 GrUserStencilTest::kEqual, 332 GrUserStencilTest::kEqual,
|