Home
last modified time | relevance | path

Searched defs:err_msg (Results 1 – 25 of 249) sorted by relevance

12345678910

/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_admin_arg.cc107 std::string err_msg = "The " + option + " argument was given more than once."; in AssignArg() local
119 std::string err_msg = "Only one command at a time is allowed. Invalid command: " + option; in AssignArg() local
140 …std::string err_msg = option + " option requires an argument field. Syntax: " + option + " <field… in AssignArg() local
152 std::string err_msg = "The " + option + " argument was given more than once."; in AssignArg() local
164 std::string err_msg = "Only one command at a time is allowed. Invalid command: " + option; in AssignArg() local
176 …std::string err_msg = option + " option requires an argument field. Syntax: " + option + " <field… in AssignArg() local
184 std::string err_msg = "Invalid numeric value: " + value_as_string; in AssignArg() local
196 std::string err_msg = "The " + option + " argument was given more than once."; in AssignArg() local
208 std::string err_msg = "Only one command at a time is allowed. Invalid command: " + option; in AssignArg() local
221 …std::string err_msg = option + " option requires an argument field. Syntax: " + option + " <field… in AssignArg() local
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/
Dimage_ops_proto.cc30 …std::string err_msg = GetShapeErrMsg(0, DebugString(images_desc.GetShape().GetDims()), "at least 3… in IMPLEMT_INFERFUNC() local
59 …std::string err_msg = GetShapeErrMsg(0, DebugString(images_desc.GetShape().GetDims()), "at least 3… in AdjustSaturationCommInferShape() local
192 std::string err_msg = in IMPLEMT_INFERFUNC() local
199 std::string err_msg = in IMPLEMT_INFERFUNC() local
206 std::string err_msg = in IMPLEMT_INFERFUNC() local
213 std::string err_msg = in IMPLEMT_INFERFUNC() local
220 std::string err_msg = in IMPLEMT_INFERFUNC() local
228 std::string err_msg = in IMPLEMT_INFERFUNC() local
235 std::string err_msg = in IMPLEMT_INFERFUNC() local
290 std::string err_msg = in IMPLEMT_INFERFUNC() local
[all …]
Dnn_norm_ops_proto.cc59 std::string err_msg = OtherErrMsg(err_msg1); in CUST_IMPLEMT_VERIFIER() local
65 std::string err_msg = OtherErrMsg(err_msg1); in CUST_IMPLEMT_VERIFIER() local
74 std::string err_msg = OtherErrMsg(err_msg1); in CUST_IMPLEMT_VERIFIER() local
80 std::string err_msg = OtherErrMsg(err_msg1); in CUST_IMPLEMT_VERIFIER() local
89 std::string err_msg = OtherErrMsg(err_msg2); in CUST_IMPLEMT_VERIFIER() local
98 std::string err_msg = OtherErrMsg(err_msg3); in CUST_IMPLEMT_VERIFIER() local
112 std::string err_msg = OtherErrMsg(err_msg4); in CUST_IMPLEMT_VERIFIER() local
159 std::string err_msg = OtherErrMsg(err_msg1); in IMPLEMT_COMMON_INFERFUNC() local
165 std::string err_msg = OtherErrMsg(err_msg1); in IMPLEMT_COMMON_INFERFUNC() local
171 std::string err_msg = OtherErrMsg(err_msg1); in IMPLEMT_COMMON_INFERFUNC() local
[all …]
Dnn_pooling_ops_proto.cc329 …std::string err_msg = GetAttrSizeErrMsg("input_shape", ConcatString(input_shape.size()), ConcatStr… in CUST_IMPLEMT_INFERFUNC() local
419 std::string err_msg = GetInputInvalidErrMsg("ksize"); in CUST_IMPLEMT_VERIFIER() local
425 …std::string err_msg = GetAttrSizeErrMsg("ksize", ConcatString(ksize.size()), ConcatString(kAttrsSi… in CUST_IMPLEMT_VERIFIER() local
432 std::string err_msg = GetInputInvalidErrMsg("strides"); in CUST_IMPLEMT_VERIFIER() local
438 …std::string err_msg = GetAttrSizeErrMsg("strides", ConcatString(strides.size()), ConcatString(kAtt… in CUST_IMPLEMT_VERIFIER() local
445 std::string err_msg = GetInputInvalidErrMsg("pads"); in CUST_IMPLEMT_VERIFIER() local
451 …std::string err_msg = GetAttrSizeErrMsg("pads", ConcatString(pads.size()), ConcatString(kAttrsSize… in CUST_IMPLEMT_VERIFIER() local
458 std::string err_msg = GetInputInvalidErrMsg("dilation"); in CUST_IMPLEMT_VERIFIER() local
464 …std::string err_msg = GetAttrSizeErrMsg("dilation", ConcatString(dilation.size()), ConcatString(kA… in CUST_IMPLEMT_VERIFIER() local
471 std::string err_msg = GetInputInvalidErrMsg("ceil_mode"); in CUST_IMPLEMT_VERIFIER() local
[all …]
Dtransformation_ops_proto.cc44 …std::string err_msg = GetAttrValueErrMsg("input_dims", std::to_string(input_dims.size()), ConcatSt… in IMPLEMT_VERIFIER() local
50 std::string err_msg = GetInputInvalidErrMsg("block_size"); in IMPLEMT_VERIFIER() local
55 …std::string err_msg = GetAttrValueErrMsg("block_size", std::to_string(block_size), ConcatString("=… in IMPLEMT_VERIFIER() local
62 std::string err_msg = GetInputInvalidErrMsg("mode"); in IMPLEMT_VERIFIER() local
68 std::string err_msg = GetAttrValueErrMsg("mode", mode, expected_format_list); in IMPLEMT_VERIFIER() local
75 std::string err_msg = GetInputInvalidErrMsg("data_format"); in IMPLEMT_VERIFIER() local
81 …std::string err_msg = GetInputFormatNotSupportErrMsg("data_format", expected_format_list, data_for… in IMPLEMT_VERIFIER() local
106 std::string err_msg = GetInputInvalidErrMsg("block_size"); in IMPLEMT_COMMON_INFERFUNC() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/kernels/ir/
Dvalidators.cc24 …std::string err_msg = op_name + ": probability must be between 0.0 and 1.0, got: " + std::to_strin… in ValidateProbability() local
49 std::string err_msg = in ValidateVectorFillvalue() local
62 …std::string err_msg = op_name + ":" + attr_name + " expecting size 1 or 2, but got: " + std::to_st… in ValidateVectorColorAttribute() local
69 std::string err_msg = op_name + ":" + attr_name + in ValidateVectorColorAttribute() local
81 std::string err_msg = op_name + ": mean expecting non-empty vector"; in ValidateVectorMeanStd() local
85 std::string err_msg = op_name + ": std expecting non-empty vector"; in ValidateVectorMeanStd() local
89 std::string err_msg = op_name + ": mean and std vectors are expected to be of the same size"; in ValidateVectorMeanStd() local
105 … std::string err_msg = op_name + ":" + vec_name + " must be odd value, got: " + vec_name + "[" + in ValidateVectorOdd() local
118 …std::string err_msg = op_name + ": padding expecting size 1, 2 or 4, got size: " + std::to_string(… in ValidateVectorPadding() local
149 …std::string err_msg = op_name + ": sigma expecting size 2, got sigma.size(): " + std::to_string(si… in ValidateVectorSigma() local
[all …]
Dvalidators.h51 …std::string err_msg = op_name + ": expecting range size 1 or 2, but got: " + std::to_string(range.… variable
57 std::string err_msg = op_name + ": '" + scalar_name + "' must be" + interval_description + variable
66 std::string err_msg = op_name + ":" + scalar_name + " is out of range " + left_bracket + variable
81 std::string err_msg = op_name + ": Invalid " + enum_name + ", check input value of enum."; in ValidateEnum() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/util/
Dvalidators.h35 std::string err_msg = "Failed to find key '" + param_name + "' in " + operator_name + in ValidateParamInJson() local
45 …std::string err_msg = op_name + ": the shape of input tensor does not match the requirement of ope… variable
66 …std::string err_msg = op_name + ": the data type of input tensor does not match the requirement of… variable
90 …std::string err_msg = op_name + ": invalid parameter, '" + param_name + "' should be equal to '" +… in ValidateEqual() local
102 …std::string err_msg = op_name + ": invalid parameter, '" + param_name + "' can not be equal to '" … in ValidateNotEqual() local
114 …std::string err_msg = op_name + ": invalid parameter, '" + param_name + "' should be greater than … in ValidateGreaterThan() local
126 …std::string err_msg = op_name + ": invalid parameter, '" + param_name + "' should be less than '" … in ValidateLessThan() local
138 …std::string err_msg = op_name + ": invalid parameter, '" + param_name + "' should be no greater th… in ValidateNoGreaterThan() local
150 …std::string err_msg = op_name + ": invalid parameter, '" + param_name + "' should be no less than … in ValidateNoLessThan() local
161 std::string err_msg = op_name + ": invalid parameter, '" + param_name + in ValidatePositive() local
[all …]
Dmonitor.cc30 std::string err_msg = "[Monitor] The sub-process: " + std::to_string(pid) + in MonitorSubprocess() local
35 std::string err_msg = "[Monitor] The sub-process: " + std::to_string(pid) + in MonitorSubprocess() local
45 std::string err_msg = "[Monitor] The sub-process: " + std::to_string(pid) + in MonitorSubprocess() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Dascend_vision_ir.cc42 std::string err_msg = in ValidateParams() local
47 …std::string err_msg = "Dvpp module supports crop image with resolution in range [32, 2048], got cr… in ValidateParams() local
97 …std::string err_msg = "DvppDecodeResizeJpeg: resize resolution must be a vector of one or two elem… in ValidateParams() local
102 std::string err_msg = in ValidateParams() local
157 std::string err_msg = in ValidateParams() local
168 std::string err_msg = "DvppDecodeVideo: video frame width " + std::to_string(width) + in ValidateParams() local
175 std::string err_msg = "DvppDecodeVideo: video frame height " + std::to_string(height) + in ValidateParams() local
182 std::string err_msg = "DvppDecodeVideo: Invalid VdecStreamFormat, check input value of enum."; in ValidateParams() local
186 std::string err_msg = "DvppDecodeVideo: Invalid VdecOutputFormat, check input value of enum."; in ValidateParams() local
196 std::string err_msg = "DvppDecodeVideo: Invalid out path, check path: " + output.ToString(); in ValidateParams() local
[all …]
Drandom_affine_ir.cc58 std::string err_msg = in ValidateParams() local
63 std::string err_msg = "RandomAffine: minimum of degrees range is greater than maximum: min = " + in ValidateParams() local
70 …std::string err_msg = "RandomAffine: 'translate'(translate_range) expecting size 2 or 4, got size:… in ValidateParams() local
75 …std::string err_msg = "RandomAffine: minimum of 'translate'(translate_range) on x is greater than … in ValidateParams() local
85 std::string err_msg = in ValidateParams() local
100 std::string err_msg = in ValidateParams() local
105 …std::string err_msg = "RandomAffine: minimum of horizontal 'shear'(shear_range) is greater than ma… in ValidateParams() local
111 …std::string err_msg = "RandomAffine: minimum of vertical 'shear'(shear_range) is greater than maxi… in ValidateParams() local
121 std::string err_msg = "RandomAffine: Invalid InterpolationMode, check input value of enum."; in ValidateParams() local
Daffine_ir.cc46 …std::string err_msg = "Affine: rotation angle in degrees between -180 and 180, but got " + std::to… in ValidateParams() local
53 std::string err_msg = in ValidateParams() local
66 …std::string err_msg = "Affine: shear_ranges expecting size 2, got: shear.size() = " + std::to_stri… in ValidateParams() local
71 …std::string err_msg = "Affine: shear angle value between -180 and 180, but got " + std::to_string(… in ValidateParams() local
82 …std::string err_msg = "Affine: Invalid InterpolationMode, only support Linear, Nearest, Cubic and … in ValidateParams() local
87 std::string err_msg = "Affine: Invalid device target. It's not CPU or Ascend."; in ValidateParams() local
Drandom_posterize_ir.cc46 std::string err_msg = in ValidateParams() local
51 std::string err_msg = in ValidateParams() local
56 std::string err_msg = in ValidateParams() local
61 std::string err_msg = in ValidateParams() local
Dsolarize_ir.cc40 std::string err_msg = in ValidateParams() local
46 …std::string err_msg = "Solarize: threshold has to be between 0 and 255, got:" + std::to_string(thr… in ValidateParams() local
51 std::string err_msg = "Solarize: threshold must be passed in a (min, max) format"; in ValidateParams() local
57 std::string err_msg = "Solarize: Invalid device target. It's not CPU or Ascend."; in ValidateParams() local
Drandom_rotation_ir.cc56 std::string err_msg = in ValidateParams() local
61 std::string err_msg = "RandomRotation: degrees must be in the format of (min, max), got: (" + in ValidateParams() local
66 std::string err_msg = in ValidateParams() local
73 std::string err_msg = in ValidateParams() local
83 std::string err_msg = "RandomRotation: Invalid InterpolationMode, check input value of enum."; in ValidateParams() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/utils/
Derror_util.h31 #define AICPU_INFER_SHAPE_CALL_ERR_REPORT(op_name, err_msg) \ argument
36 #define AICPU_INFER_SHAPE_INNER_ERR_REPORT(op_name, err_msg) \ argument
41 #define VECTOR_INFER_SHAPE_INNER_ERR_REPORT(op_name, err_msg) \ argument
46 #define INFER_AXIS_TYPE_ERR_REPORT(op_name, err_msg, ...) \ argument
51 #define VECTOR_FUSION_INNER_ERR_REPORT(op_name, err_msg, ...) \ argument
56 #define VECTOR_CHECK_NULLPTR_RETURN_WITH_REPORT(op_name, ptr, ret, err_msg, ...) \ argument
64 #define CUBE_INNER_ERR_REPORT(op_name, err_msg, ...) \ argument
69 #define CUBE_CALL_ERR_REPORT(op_name, err_msg, ...) \ argument
74 #define CUBE_INNER_ERR_REPORT_PLUGIN(op_name, err_msg, ...) \ argument
79 #define CUBE_CALL_ERR_REPORT_PLUGIN(op_name, err_msg, ...) \ argument
[all …]
Dlookup_ops_shape_fns.cc49 std::string err_msg = OtherErrMsg("Expected keys to have suffix"); in ValidateTableResourceHandle() local
114 std::string err_msg = in ValidateTableResourceHandle() local
131 std::string err_msg = in ValidateTableResourceHandle() local
140 std::string err_msg = in ValidateTableResourceHandle() local
156 std::string err_msg = OtherErrMsg("concatenate keys_prefix and value shape failed"); in ValidateTableResourceHandle() local
167 std::string err_msg = OtherErrMsg("concatenate keys and value shape failed"); in ValidateTableResourceHandle() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Dbucket_batch_by_length_node.cc95 std::string err_msg = in ValidateParams() local
103 std::string err_msg = "BucketBatchByLengthNode: bucket_boundaries cannot be empty."; in ValidateParams() local
109 std::string err_msg = in ValidateParams() local
115 std::string err_msg = in ValidateParams() local
129 std::string err_msg = "BucketBatchByLengthNode: bucket_batch_sizes must be non-empty"; in ValidateParams() local
134 std::string err_msg = in ValidateParams() local
140 …std::string err_msg = "BucketBatchByLengthNode: bucket_batch_sizes must only contain positive numb… in ValidateParams() local
Droot_node.cc40 std::string err_msg = "Root node doesn't build a runtime Op"; in Build() local
49 std::string err_msg = in ValidateParams() local
54 std::string err_msg = "[Internal ERROR]: root node should not have a parent"; in ValidateParams() local
58 std::string err_msg = "[Internal ERROR]: root node should have one child node"; in ValidateParams() local
62 std::string err_msg = "[Internal ERROR]: root node's child is a null pointer"; in ValidateParams() local
Ddataset_node.cc81 std::string err_msg = dataset_name + ": dataset_dir is not specified."; in ValidateDatasetDirParam() local
89 …std::string err_msg = dataset_name + ": dataset_dir: [" + dataset_dir + "] is an invalid directory… in ValidateDatasetDirParam() local
94 std::string err_msg = dataset_name + ": No access to specified dataset path: " + dataset_dir; in ValidateDatasetDirParam() local
105 … std::string err_msg = dataset_name + ": dataset files list is empty, check input dataset_files."; in ValidateDatasetFilesParam() local
112 …std::string err_msg = dataset_name + ": " + file_name + ": [" + f + "] is invalid or does not exis… in ValidateDatasetFilesParam() local
116 std::string err_msg = dataset_name + ": No access to specified " + file_name + ": " + f; in ValidateDatasetFilesParam() local
127 std::string err_msg = dataset_name + ": Invalid num_shards: " + std::to_string(num_shards); in ValidateDatasetShardParams() local
133 std::string err_msg = dataset_name + ": Invalid input, shard_id: " + std::to_string(shard_id) + in ValidateDatasetShardParams() local
144 std::string err_msg = dataset_name + ": Sampler is not constructed correctly, sampler: nullptr"; in ValidateDatasetSampler() local
157 std::string err_msg = dataset_name + ": " + str + " does not match any mode in [" + mode + " ]"; in ValidateStringValue() local
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/core/
Dascend_resource.cc33 std::string err_msg = "Error in Init D-chip:" + std::to_string(ret); in InitResource() local
44 std::string err_msg = "Error in Init resource:" + std::to_string(ret); in InitResource() local
64 std::string err_msg = "Dvpp operators can only support processing JPEG image"; in Sink() local
72 std::string err_msg = "Error in data sink process:" + std::to_string(ret); in Sink() local
84 std::string err_msg = "Error in data pop processing:" + std::to_string(ret); in Pop() local
95 std::string err_msg = "Error in device data release:" + std::to_string(ret); in DeviceDataRelease() local
Dconfig_manager.cc117 std::string err_msg = ss.str(); in LoadFile() local
128 …std::string err_msg = "Invalid Parameter, num_parallel_workers exceeds the boundary between 1 and … in set_num_parallel_workers() local
181 …std::string err_msg = "Invalid json_filepath parameter. <" + json_filepath + "> is a directory, no… in set_enable_autotune() local
188 …std::string err_msg = "Invalid json_filepath parameter. Directory <" + parent_path + "> does not … in set_enable_autotune() local
198 …std::string err_msg = "Invalid json_filepath parameter. Cannot get real json_filepath <" + real_pa… in set_enable_autotune() local
203 …std::string err_msg = "Invalid json_filepath parameter. No access to write to <" + real_path + ">.… in set_enable_autotune() local
209 …std::string err_msg = "Invalid json_filepath parameter. File: <" + json_filepath + "> already exis… in set_enable_autotune() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/text/ir/kernels/
Dtext_ir.cc76 std::string err_msg = "AddToken: Parameter token is not provided."; in ValidateParams() local
107 std::string err_msg = "BasicTokenizer: Invalid NormalizeForm, check input value of enum."; in ValidateParams() local
139 std::string err_msg = "BertTokenizer: vocab object type is incorrect or null."; in ValidateParams() local
146 std::string err_msg = "BertTokenizer: Invalid NormalizeForm, check input value of enum."; in ValidateParams() local
151 …std::string err_msg = "BertTokenizer : The parameter max_bytes_per_token must be greater than or e… in ValidateParams() local
298 std::string err_msg = "JiebaTokenizer: The dict of HMMSegment in cppjieba is not provided."; in ValidateParams() local
303 std::string err_msg = "JiebaTokenizer: The dict of MPSegment in cppjieba is not provided."; in ValidateParams() local
308 std::string err_msg = "JiebaTokenizer: Invalid JiebaMode, check input value of enum."; in ValidateParams() local
356 std::string err_msg = "Lookup: vocab object type is incorrect or null."; in ValidateParams() local
362 std::string err_msg = "Lookup: \"" + *unknown_token_ + "\" doesn't exist in vocab."; in ValidateParams() local
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/audio/ir/
Dvalidators.h47 std::string err_msg = in ValidateScalarValue() local
59 std::string err_msg = in ValidateScalarNotZero() local
71 std::string err_msg = op_name + ": " + vec_name + " can not be an empty vector."; in ValidateVectorNotEmpty() local
83 …std::string err_msg = op_name + ": the size of '" + vec_name + "' should be the same as that of '"… in ValidateVectorSameSize() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/text/ir/
Dvalidators.cc26 std::string err_msg = tokenizer_name + ": tokenizer_file is not specified."; in ValidateTokenizerDirParam() local
32 …std::string err_msg = tokenizer_name + ": tokenizer_file: [" + tokenizer_file + "] is an invalid d… in ValidateTokenizerDirParam() local
37 …std::string err_msg = tokenizer_name + ": No access to specified tokenizer path: " + tokenizer_fil… in ValidateTokenizerDirParam() local

12345678910