Home
last modified time | relevance | path

Searched refs:InvalidArgumentError (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/external/icing/icing/util/
Ddocument-validator.cc37 return absl_ports::InvalidArgumentError("Field 'namespace' is empty."); in Validate()
42 return absl_ports::InvalidArgumentError("Field 'uri' is empty."); in Validate()
46 return absl_ports::InvalidArgumentError( in Validate()
52 return absl_ports::InvalidArgumentError("Field 'score' is negative."); in Validate()
56 return absl_ports::InvalidArgumentError( in Validate()
61 return absl_ports::InvalidArgumentError("Field 'ttl_ms' is negative."); in Validate()
83 return absl_ports::InvalidArgumentError(absl_ports::StrCat( in Validate()
129 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Validate()
138 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Validate()
156 return absl_ports::InvalidArgumentError(absl_ports::StrCat( in Validate()
[all …]
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dframe_buffer_common_utils.cc122 return absl::InvalidArgumentError(absl::StrFormat( in GetPixelStrides()
130 return absl::InvalidArgumentError( in GetUvRawBuffer()
144 return absl::InvalidArgumentError( in GetUvPlaneDimension()
156 return absl::InvalidArgumentError( in GetUvPlaneDimension()
170 return absl::InvalidArgumentError( in ValidateBufferPlaneMetadata()
177 return absl::InvalidArgumentError("Invalid stride information."); in ValidateBufferPlaneMetadata()
190 return absl::InvalidArgumentError( in ValidateBufferFormat()
231 return absl::InvalidArgumentError( in ValidateResizeBufferInputs()
241 return absl::InvalidArgumentError( in ValidateRotateBufferInputs()
253 return absl::InvalidArgumentError( in ValidateRotateBufferInputs()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dbase64_ops_test.py110 with self.assertRaisesRegex(errors.InvalidArgumentError, "1 modulo 4"):
117 with self.assertRaises(errors.InvalidArgumentError):
119 with self.assertRaises(errors.InvalidArgumentError):
121 with self.assertRaises(errors.InvalidArgumentError):
123 with self.assertRaises(errors.InvalidArgumentError):
129 with self.assertRaises(errors.InvalidArgumentError):
136 with self.assertRaises(errors.InvalidArgumentError):
138 with self.assertRaises(errors.InvalidArgumentError):
140 with self.assertRaises(errors.InvalidArgumentError):
148 with self.assertRaises(errors.InvalidArgumentError):
[all …]
Dsparse_to_dense_op_py_test.py78 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
83 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
90 (ValueError, errors.InvalidArgumentError),
95 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
101 (ValueError, errors.InvalidArgumentError),
106 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
114 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
125 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
Dreverse_sequence_op_test.py150 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
156 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
162 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
168 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
173 with self.assertRaisesRegex((ValueError, errors.InvalidArgumentError),
179 with self.assertRaisesRegex((errors.OpError, errors.InvalidArgumentError),
Dlist_ops_test.py83 with self.assertRaisesRegex(errors.InvalidArgumentError,
96 with self.assertRaisesRegex(errors.InvalidArgumentError,
121 errors.InvalidArgumentError,
130 errors.InvalidArgumentError,
196 with self.assertRaisesRegex(errors.InvalidArgumentError,
219 errors.InvalidArgumentError,
239 with self.assertRaisesRegex(errors.InvalidArgumentError,
249 with self.assertRaisesRegex(errors.InvalidArgumentError,
291 errors.InvalidArgumentError, "Tried to stack list which only contains "
346 with self.assertRaisesRegex(errors.InvalidArgumentError,
[all …]
Dsparse_conditional_accumulator_test.py455 errors_impl.InvalidArgumentError,
467 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
478 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
496 errors_impl.InvalidArgumentError,
515 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
529 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
533 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
537 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
541 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
557 errors_impl.InvalidArgumentError,
[all …]
Dmanip_ops_test.py102 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
126 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
144 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
162 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
179 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
188 with self.assertRaisesRegex(errors_impl.InvalidArgumentError,
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder_helper.cc73 return absl::InvalidArgumentError(absl::StrCat( in GetNodeAndRegistration()
116 return absl::InvalidArgumentError(absl::StrCat( in ExtractTensorShape()
166 return absl::InvalidArgumentError( in PopulateQuantParams()
172 return absl::InvalidArgumentError( in PopulateQuantParams()
188 return absl::InvalidArgumentError(absl::StrCat( in PopulateQuantParams()
279 return absl::InvalidArgumentError( in CreateVectorCopyData()
291 return absl::InvalidArgumentError("Invalid Scalar dimensions"); in SetAllDimensions()
295 return absl::InvalidArgumentError(absl::StrCat( in SetAllDimensions()
305 return absl::InvalidArgumentError("Dimension is empty."); in CheckIfLinearConvertible()
309 return absl::InvalidArgumentError(absl::StrCat( in CheckIfLinearConvertible()
[all …]
Dmodel.cc171 return absl::InvalidArgumentError("Node is a consumer of the value"); in SetProducer()
188 return absl::InvalidArgumentError("Value does not have a producer"); in RemoveProducer()
205 return absl::InvalidArgumentError("Node is a producer of the value"); in AddConsumer()
234 return absl::InvalidArgumentError("old_value must be input of node."); in ReplaceInput()
239 return absl::InvalidArgumentError("new_value can not be input of node."); in ReplaceInput()
244 return absl::InvalidArgumentError("new_value can not be output of node."); in ReplaceInput()
266 return absl::InvalidArgumentError("Node is not a consumer of the value"); in RemoveConsumer()
385 return absl::InvalidArgumentError( in RemovePrecedingNode()
406 return absl::InvalidArgumentError("To_remove node has other inputs"); in RemoveFollowingNode()
488 return absl::InvalidArgumentError("Wrong output is passed."); in ConnectTwoNodes()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_range_op_test.py101 self.assertRaises((ValueError, errors.InvalidArgumentError),
103 self.assertRaises((ValueError, errors.InvalidArgumentError),
105 self.assertRaises((ValueError, errors.InvalidArgumentError),
107 self.assertRaises((ValueError, errors.InvalidArgumentError),
111 with self.assertRaisesRegex(errors.InvalidArgumentError,
Dragged_getitem_test.py278 (SLICE_BUILDER[5], (IndexError, ValueError, errors.InvalidArgumentError),
280 (SLICE_BUILDER[-6], (IndexError, ValueError, errors.InvalidArgumentError),
283 errors.InvalidArgumentError), '.*out of bounds.*'),
285 errors.InvalidArgumentError), '.*out of bounds.*'),
409 errors.InvalidArgumentError), '.*out of bounds.*'),
412 errors.InvalidArgumentError), '.*out of bounds.*'),
413 (SLICE_BUILDER[5], (IndexError, ValueError, errors.InvalidArgumentError),
416 errors.InvalidArgumentError), '.*out of bounds.*'),
437 (SLICE_BUILDER[0], (IndexError, ValueError, errors.InvalidArgumentError),
439 (SLICE_BUILDER[-1], (IndexError, ValueError, errors.InvalidArgumentError),
[all …]
/external/icing/icing/index/
Dterm-id-codec.cc34 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Create()
52 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in EncodeTvi()
60 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in EncodeTvi()
77 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in DecodeTviType()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconverter.cc142 return absl::InvalidArgumentError("Missing output in converter"); in Convert()
146 return absl::InvalidArgumentError("Missing input in converter"); in Convert()
149 return absl::InvalidArgumentError("Can not execute inplace conversion"); in Convert()
157 return absl::InvalidArgumentError( in Convert()
161 return absl::InvalidArgumentError( in Convert()
237 return absl::InvalidArgumentError("Missing output in converter"); in Convert()
241 return absl::InvalidArgumentError("Missing input in converter"); in Convert()
244 return absl::InvalidArgumentError("Can not execute inplace conversion"); in Convert()
252 return absl::InvalidArgumentError( in Convert()
256 return absl::InvalidArgumentError( in Convert()
Dresize.cc42 return absl::InvalidArgumentError("Output size is less than input size."); in GenerateCode()
46 return absl::InvalidArgumentError( in GenerateCode()
50 return absl::InvalidArgumentError("Input/output channels mismatch."); in GenerateCode()
124 return absl::InvalidArgumentError("Unknown sampling type"); in GenerateCode()
Dprelu.cc43 return absl::InvalidArgumentError("Alpha is missing"); in GenerateCode()
46 return absl::InvalidArgumentError( in GenerateCode()
92 return absl::InvalidArgumentError("Alpha is missing"); in GenerateCode()
97 return absl::InvalidArgumentError( in GenerateCode()
/external/icing/icing/schema/
Dschema-util.cc127 return absl_ports::InvalidArgumentError( in ExpandTranstiveDependencies()
228 return absl_ports::InvalidArgumentError( in BuildTransitiveDependencyGraph()
246 return absl_ports::InvalidArgumentError(absl_ports::StrCat( in BuildTransitiveDependencyGraph()
319 return absl_ports::InvalidArgumentError( in ValidateSchemaType()
330 return absl_ports::InvalidArgumentError( in ValidatePropertyName()
338 return absl_ports::InvalidArgumentError( in ValidatePropertyName()
353 return absl_ports::InvalidArgumentError(absl_ports::StrCat( in ValidateDataType()
367 return absl_ports::InvalidArgumentError(absl_ports::StrCat( in ValidateCardinality()
382 return absl_ports::InvalidArgumentError(absl_ports::StrCat( in ValidateStringIndexingConfig()
390 return absl_ports::InvalidArgumentError( in ValidateStringIndexingConfig()
/external/icing/icing/store/
Dusage-store.cc73 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in AddUsageReport()
145 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in DeleteUsageScores()
161 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in GetUsageScores()
180 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in SetUsageScores()
190 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CloneUsageScores()
195 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CloneUsageScores()
/external/icing/icing/index/main/
Dposting-list-used.cc44 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CreateFromPreexistingPostingListUsedRegion()
68 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in MoveFrom()
78 return absl_ports::InvalidArgumentError( in MoveFrom()
150 return absl_ports::InvalidArgumentError( in PrependHitToAlmostFull()
219 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in PrependHitToNotFull()
297 return absl_ports::InvalidArgumentError("Cannot prepend an invalid hit!"); in PrependHit()
527 return absl_ports::InvalidArgumentError( in get_special_hit()
641 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in PrependHitUncompressed()
648 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in PrependHitUncompressed()
665 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ConsumeTermFrequencyIfPresent()
Dindex-block.cc41 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ValidatePostingListBytes()
66 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CreateFromPreexistingIndexBlockRegion()
85 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CreateFromUninitializedRegion()
134 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in GetAllocatedPostingList()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dframe_buffer.cc38 return absl::InvalidArgumentError( in GetYuvDataFromOnePlaneFrameBuffer()
91 return absl::InvalidArgumentError("Unsupported YUV planar format."); in GetYuvDataFromTwoPlaneFrameBuffer()
123 return absl::InvalidArgumentError( in GetYuvDataFromThreePlaneFrameBuffer()
162 return absl::InvalidArgumentError( in GetYuvDataFromFrameBuffer()
173 return absl::InvalidArgumentError( in GetYuvDataFromFrameBuffer()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_spatial_tensor.cc234 return absl::InvalidArgumentError( in GetGPUResources()
245 return absl::InvalidArgumentError( in GetGPUResources()
254 return absl::InvalidArgumentError("Expected TensorDescriptor on input."); in GetGPUResources()
317 return absl::InvalidArgumentError( in IsValid()
321 return absl::InvalidArgumentError( in IsValid()
325 return absl::InvalidArgumentError( in IsValid()
329 return absl::InvalidArgumentError( in IsValid()
337 return absl::InvalidArgumentError( in IsValid()
341 return absl::InvalidArgumentError( in IsValid()
345 return absl::InvalidArgumentError( in IsValid()
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dshard_test.py50 with self.assertRaises(errors.InvalidArgumentError):
56 with self.assertRaises(errors.InvalidArgumentError):
62 with self.assertRaises(errors.InvalidArgumentError):
68 with self.assertRaises(errors.InvalidArgumentError):
/external/tensorflow/tensorflow/python/ops/
Dbincount_ops_test.py769 with self.assertRaisesRegex(errors.InvalidArgumentError,
795 with self.assertRaisesRegex(errors.InvalidArgumentError,
804 with self.assertRaisesRegex(errors.InvalidArgumentError,
814 with self.assertRaisesRegex(errors.InvalidArgumentError,
834 with self.assertRaisesRegex(errors.InvalidArgumentError,
848 with self.assertRaisesRegex(errors.InvalidArgumentError,
863 with self.assertRaisesRegex(errors.InvalidArgumentError,
879 errors.InvalidArgumentError,
905 with self.assertRaisesRegex(errors.InvalidArgumentError,
919 errors.InvalidArgumentError,
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dtensor.cc148 return absl::InvalidArgumentError(absl::StrCat( in AllocateTensorMemory()
169 return absl::InvalidArgumentError(absl::StrCat( in AllocateTensorMemory()
329 return absl::InvalidArgumentError( in GetGPUResources()
340 return absl::InvalidArgumentError( in GetGPUResources()
349 return absl::InvalidArgumentError("Expected TensorDescriptor on input."); in GetGPUResources()
414 return absl::InvalidArgumentError( in IsValid()
418 return absl::InvalidArgumentError( in IsValid()
422 return absl::InvalidArgumentError( in IsValid()
426 return absl::InvalidArgumentError( in IsValid()
434 return absl::InvalidArgumentError( in IsValid()
[all …]

12345678910>>...16