Home
last modified time | relevance | path

Searched refs:CheckInRange (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mindspore/mindspore/core/ops/
Dsplit_v.cc35 …CheckAndConvertUtils::CheckInRange("split_dim", split_dim, kIncludeLeft, {-x_rank, x_rank}, prim_n… in InferShape()
49 …CheckAndConvertUtils::CheckInRange("elements of size_splits", size_splits[LongToSize(i)], kInclude… in InferShape()
63 …CheckAndConvertUtils::CheckInRange("elements of size_splits", size_splits[LongToSize(i)], kInclude… in InferShape()
Dsoftmax.cc42 CheckAndConvertUtils::CheckInRange<int64_t>("axis", item, kIncludeLeft, {-rank, rank}, op_name); in Init()
63 CheckAndConvertUtils::CheckInRange<int64_t>("axis", item, kIncludeLeft, {-rank, rank}, op_name); in SoftMaxInferShape()
Dcontrol_depend.cc24 …CheckAndConvertUtils::CheckInRange<int64_t>(kDependMode, depend_mode, kIncludeBoth, {0, 1}, name()… in set_depend_mode()
Dbatch_norm.cc37 …CheckAndConvertUtils::CheckInRange<float>(kEpsilon, epsilon, kIncludeBoth, {0.0, 1.0}, this->name(… in set_epsilon()
47 …CheckAndConvertUtils::CheckInRange<float>(kMomentum, momentun, kIncludeBoth, {0.0, 1.0}, this->nam… in set_momentum()
Dexpand_dims.cc43 …CheckAndConvertUtils::CheckInRange<int64_t>("axis", dim_val, kIncludeBoth, {-SizeToLong(rank) - 1,… in ExpandDimsInfer()
Droll.cc37 …CheckAndConvertUtils::CheckInRange("axis value", axis, kIncludeLeft, {-x_rank, x_rank}, prim_name); in InferShape()
Ddropout.cc30 …CheckAndConvertUtils::CheckInRange<float>(kKeepProb, keep_prob, kIncludeRight, {0.0, 1.0}, this->n… in set_keep_prob()
Dl2_normalize.cc53 …CheckAndConvertUtils::CheckInRange<int64_t>("axis", axis, kIncludeLeft, {-x_rank, x_rank}, prim_na… in L2NormalizeInfer()
Darg_min.cc48 …CheckAndConvertUtils::CheckInRange<int64_t>("axis", axis, kIncludeLeft, {-x_rank, x_rank}, prim_na… in ArgMinInfer()
Dcdist.cc38 CheckAndConvertUtils::CheckInRange("input_x dim", x_size, kIncludeBoth, {2, 3}, "Cdist"); in InferShape()
Dlog_softmax.cc50 CheckAndConvertUtils::CheckInRange<int64_t>("axis", axis, kIncludeLeft, {-rank, rank}, op_name); in LogSoftmaxInferShape()
Darg_max.cc28 …CheckAndConvertUtils::CheckInRange<int64_t>("argmax axis", axis, kIncludeLeft, {-x_rank, x_rank}, … in InferShape()
Dreduce.cc30 CheckAndConvertUtils::CheckInRange("axis", one_axis, kIncludeLeft, {-dim, dim}, "Reduce"); in reduce_one_axis()
Dsqueeze.cc39 …CheckAndConvertUtils::CheckInRange<int64_t>("axis_or_elememt", item, kIncludeBoth, {-len, len + 1}… in InferShape()
Dconcat.cc51 CheckAndConvertUtils::CheckInRange<int64_t>("Concat axis", axis_temp, kIncludeBoth, in ConcatInfer()
Dbinary_cross_entropy.cc36 …CheckAndConvertUtils::CheckInRange("binary_cross_entropy_infer", input_args.size(), kIncludeBoth, … in BinaryCrossEntroyInferShape()
Dindex_add.cc40 …CheckAndConvertUtils::CheckInRange("axis", axis, kIncludeNeither, {-x_rank - 1, x_rank}, prim_name… in IndexAddInferShape()
Done_hot.cc38 …CheckAndConvertUtils::CheckInRange<int64_t>("axis", axis, kIncludeBoth, {-1, SizeToLong(in_shape.s… in OneHotInferShape()
Dgather.cc68 …CheckAndConvertUtils::CheckInRange<int64_t>("axis", axis_val, kIncludeLeft, {-params_rank, params_… in GatherInfer()
Dbias_add.cc46 …CheckAndConvertUtils::CheckInRange("dims of input_x", input_shape.size(), kIncludeBoth, {x_min_ran… in InferShape()
Ddetection_post_process.cc138 …CheckAndConvertUtils::CheckInRange("scores_shape[2]", scores_shape[2], kIncludeBoth, {num_classes,… in DetectionPostProcessInfer()
Dlstm.cc127 …CheckAndConvertUtils::CheckInRange<float>(kDropout, dropout, kIncludeBoth, {0.0, 1.0}, this->name(… in set_dropout()
/third_party/mindspore/mindspore/core/ops/grad/
Ddropout_grad.cc30 …CheckAndConvertUtils::CheckInRange<float>(kKeepProb, keep_prob, kIncludeRight, {0.0, 1.0}, this->n… in set_keep_prob()
Dcdist_grad.cc42 CheckAndConvertUtils::CheckInRange("input_x dim", x_size, kIncludeBoth, {2, 3}, "CdistGrad"); in InferShape()
Dlstm_grad.cc55 …CheckAndConvertUtils::CheckInRange<float>(kDropout, dropout, kIncludeBoth, {0.0, 1.0}, this->name(… in set_dropout()

12