/external/tensorflow/tensorflow/core/framework/ |
reader_base.cc | 21 #include "tensorflow/core/lib/core/errors.h" 62 return errors::Unimplemented("Reader SerializeState"); 75 return errors::Unimplemented("Reader RestoreState"); 115 status = errors::Internal( 176 status = errors::Internal( 181 status = errors::Internal( 209 errors::InvalidArgument("Expected single component queue")); 211 context->SetStatus(errors::InvalidArgument( 214 context->SetStatus(errors::InvalidArgument( 249 return errors::InvalidArgument [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
batchtospace_op.cc | 50 errors::InvalidArgument("block_shape rank should be 1 instead of ", 56 errors::InvalidArgument("input rank should be >= ", 1 + block_dims, 63 errors::InvalidArgument("crops should have shape [", block_dims, 103 errors::InvalidArgument("Product of block sizes must be positive, got ", 109 errors::InvalidArgument("Input batch dimension (", orig_input_batch_size, 116 errors::InvalidArgument( 153 errors::InvalidArgument("Crops must be non-negative")); 159 errors::InvalidArgument("cropped_shape[", block_dim, "]=", 225 errors::InvalidArgument("Block size should be > 1: ", block_size_)); 243 errors::InvalidArgument("Input rank should be: ", kRequiredDims [all...] |
sequence_ops.cc | 40 errors::InvalidArgument("start must be a scalar, not shape ", 43 errors::InvalidArgument("limit must be a scalar, not shape ", 46 errors::InvalidArgument("delta must be a scalar, not shape ", 52 errors::InvalidArgument("Requires delta != 0: ", delta)); 56 errors::InvalidArgument( 61 errors::InvalidArgument( 129 errors::InvalidArgument("start must be a scalar, not shape ", 132 errors::InvalidArgument("stop must be a scalar, not shape ", 135 errors::InvalidArgument("num must be a scalar, not shape ", 141 errors::InvalidArgument("Requires num > 0: ", num)) [all...] |
list_kernels.h | 32 #include "tensorflow/core/lib/core/errors.h" 76 errors::InvalidArgument( 80 errors::InvalidArgument("Invalid data types; op elements ", 85 errors::InvalidArgument("Tried to stack elements from a list " 89 errors::InvalidArgument("Operation expected a list with ", 110 errors::InvalidArgument( 151 errors::InvalidArgument( 161 errors::Unknown("Unexpected shape error.")); 180 return errors::InvalidArgument( 187 return errors::InvalidArgument [all...] |
mkl_reshape_op.cc | 50 errors::InvalidArgument("sizes input must be 1-D, not shape ", 68 context->CtxFailure(errors::InvalidArgument( 76 errors::InvalidArgument("Reshape cannot infer the missing input size " 82 errors::InvalidArgument( 89 errors::InvalidArgument("Input to reshape is a tensor with ", 175 errors::InvalidArgument("sizes input must be 1-D, not shape ", 193 context->CtxFailure(errors::InvalidArgument( 201 errors::InvalidArgument("Reshape cannot infer the missing input size " 207 errors::InvalidArgument( 215 errors::InvalidArgument("Input to reshape is a tensor with ", nelems [all...] |
bias_op.cc | 91 errors::InvalidArgument("Invalid data format")); 102 errors::InvalidArgument("Input tensor must be at least 2D: ", 105 errors::InvalidArgument("Biases must be 1D: ", 112 errors::InvalidArgument( 122 errors::InvalidArgument( 160 errors::InvalidArgument("Only ranks up to 5 supported: ", 211 errors::InvalidArgument("Invalid data format")); 222 errors::InvalidArgument("Input tensor must be at least 2D: ", 229 errors::InvalidArgument("BiasGrad requires tensor size <= int32 max")); 247 errors::InvalidArgument [all...] |
as_string_op.cc | 23 #include "tensorflow/core/lib/core/errors.h" 53 errors::InvalidArgument("scientific and shortest format " 57 errors::InvalidArgument("precision not supported " 63 errors::InvalidArgument("Fill string must be one or fewer characters")); 65 errors::InvalidArgument( 98 errors::InvalidArgument("Type not supported: ", 148 errors::InvalidArgument("Cannot encode input of type ",
|
fixed_length_record_reader_op.cc | 21 #include "tensorflow/core/lib/core/errors.h" 97 if (!errors::IsOutOfRange(s)) { 111 if (!errors::IsOutOfRange(s)) { 173 errors::InvalidArgument("header_bytes must be >= 0 not ", 176 errors::InvalidArgument("record_bytes must be >= 0 not ", 179 errors::InvalidArgument("footer_bytes must be >= 0 not ", 183 errors::InvalidArgument("hop_bytes must be >= 0 not ", hop_bytes));
|
gather_op.cc | 49 errors::InvalidArgument("params must be at least 1 dimensional")); 57 errors::InvalidArgument("axis must be scalar")); 65 errors::InvalidArgument("axis must be int32 or int64.")); 71 errors::InvalidArgument("Expected axis in the range [", -params.dims(), 82 errors::InvalidArgument("params.shape[", axis, "] too large for ", 115 errors::InvalidArgument(
|
/test/vts/runners/host/ |
config_parser.py | 25 from vts.runners.host import errors 88 except errors.USERError as e: 136 errors.USERError is raised if any required key is missing from the 141 raise errors.USERError(("Required key {} missing in test " 163 raise errors.USERError("Syntax error in test specifier %s" % item) 178 raise errors.USERError( 220 errors.USERError is raised if the input does not follow test class 224 raise errors.USERError( 236 If any part of the configuration is invalid, errors.USERError is raised. 247 raise errors.USERError("Duplicate testbed name {} found.".format [all...] |
/external/guice/core/src/com/google/inject/internal/ |
Annotations.java | 182 Errors errors, Class<?> implementation) { 183 return findScopeAnnotation(errors, implementation.getAnnotations()); 187 public static Class<? extends Annotation> findScopeAnnotation(Errors errors, Annotation[] annotations) { 194 errors.duplicateScopeAnnotations(found, annotationType); 264 Class<?> type, Object source, Errors errors) { 269 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, type); 273 errors.withSource(type).scopeAnnotationOnAbstractType(scopeAnnotation, type, source) [all...] |
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_util.cc | 28 #include "tensorflow/core/lib/core/errors.h" 70 return errors::Internal("Unexpected null device."); 74 return errors::Internal("Unexpected null device info."); 78 return errors::Internal("Unexpected null device context."); 82 return errors::Internal("No gpu stream is available."); 87 return errors::Internal("Can't copy a tensor of ", 92 return errors::Internal("Can't copy ", src.TotalBytes(), 97 return errors::Internal("Src tensor is not initialized."); 100 return errors::Internal("Dst tensor is not initialized."); 104 return errors::Internal("GPU copy from non-DMA " [all...] |
/external/wpa_supplicant_8/src/utils/ |
xml_libxml2.c | 62 struct str_buf errors; local 77 os_memset(&errors, 0, sizeof(errors)); 82 &errors); local 89 &errors); local 97 os_free(errors.buf); 101 *ret_err = errors.buf; 103 os_free(errors.buf); 107 *ret_err = errors.buf; 109 os_free(errors.buf) 123 struct str_buf errors; local [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/proxy/ |
socks5.go | 8 "errors" 68 return nil, errors.New("proxy: no support for SOCKS5 proxy connections of type " + network) 93 return errors.New("proxy: failed to parse port number: " + portStr) 96 return errors.New("proxy: port number out of range: " + portStr) 110 return errors.New("proxy: failed to write greeting to SOCKS5 proxy at " + s.addr + ": " + err.Error()) 114 return errors.New("proxy: failed to read greeting from SOCKS5 proxy at " + s.addr + ": " + err.Error()) 117 return errors.New("proxy: SOCKS5 proxy at " + s.addr + " has unexpected version " + strconv.Itoa(int(buf[0]))) 120 return errors.New("proxy: SOCKS5 proxy at " + s.addr + " requires authentication") 132 return errors.New("proxy: failed to write authentication request to SOCKS5 proxy at " + s.addr + ": " + err.Error()) 136 return errors.New("proxy: failed to read authentication reply from SOCKS5 proxy at " + s.addr + ": " + err.Error (…) [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/proxy/ |
socks5.go | 8 "errors" 68 return nil, errors.New("proxy: no support for SOCKS5 proxy connections of type " + network) 93 return errors.New("proxy: failed to parse port number: " + portStr) 96 return errors.New("proxy: port number out of range: " + portStr) 110 return errors.New("proxy: failed to write greeting to SOCKS5 proxy at " + s.addr + ": " + err.Error()) 114 return errors.New("proxy: failed to read greeting from SOCKS5 proxy at " + s.addr + ": " + err.Error()) 117 return errors.New("proxy: SOCKS5 proxy at " + s.addr + " has unexpected version " + strconv.Itoa(int(buf[0]))) 120 return errors.New("proxy: SOCKS5 proxy at " + s.addr + " requires authentication") 132 return errors.New("proxy: failed to write authentication request to SOCKS5 proxy at " + s.addr + ": " + err.Error()) 136 return errors.New("proxy: failed to read authentication reply from SOCKS5 proxy at " + s.addr + ": " + err.Error (…) [all...] |
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
CreateUsersNoAppCrashesTest.java | 180 Set<String> errors = evaluateAndReturnAppCrashes(base); 181 if (errors.isEmpty()) { 184 CLog.e("Retrying due to app crashes: " + errors); 186 errors.retainAll(evaluateAndReturnAppCrashes(base)); 187 assertTrue("App error dialog(s) are present after 2 attempts: " + errors, 188 errors.isEmpty());
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
hp_roman8.py | 16 def encode(self,input,errors='strict'):
17 return codecs.charmap_encode(input,errors,encoding_map)
19 def decode(self,input,errors='strict'):
20 return codecs.charmap_decode(input,errors,decoding_map)
24 return codecs.charmap_encode(input,self.errors,encoding_map)[0]
28 return codecs.charmap_decode(input,self.errors,decoding_map)[0]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
hp_roman8.py | 16 def encode(self,input,errors='strict'):
17 return codecs.charmap_encode(input,errors,encoding_map)
19 def decode(self,input,errors='strict'):
20 return codecs.charmap_decode(input,errors,decoding_map)
24 return codecs.charmap_encode(input,self.errors,encoding_map)[0]
28 return codecs.charmap_decode(input,self.errors,decoding_map)[0]
|
/external/llvm/bindings/go/llvm/ |
bitreader.go | 24 "errors" 37 err := errors.New(C.GoString(errmsg)) 48 err := errors.New(C.GoString(errmsg))
|
/external/python/cpython2/Lib/encodings/ |
hp_roman8.py | 16 def encode(self,input,errors='strict'): 17 return codecs.charmap_encode(input,errors,encoding_map) 19 def decode(self,input,errors='strict'): 20 return codecs.charmap_decode(input,errors,decoding_map) 24 return codecs.charmap_encode(input,self.errors,encoding_map)[0] 28 return codecs.charmap_decode(input,self.errors,decoding_map)[0]
|
/external/python/cpython3/Lib/email/ |
_encoded_words.py | 47 from email import errors 104 defects.append(errors.InvalidBase64PaddingDefect()) 112 defects = [errors.InvalidBase64CharactersDefect()] 121 defects.append(errors.InvalidBase64PaddingDefect()) 150 syntax and may raise errors if the string is not well formed), and returns 171 defects.append(errors.UndecodableBytesDefect("Encoded word " 177 defects.append(errors.CharsetError("Unknown charset {} "
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
bcast_ops.cc | 40 errors::Unimplemented("Broadcast for n-ary operations (n > 2)")); 45 errors::InvalidArgument("In[", i, "] must be a vector.", 53 errors::InvalidArgument( 88 errors::Unimplemented("Broadcast for n-ary operations (n > 2)")); 94 errors::InvalidArgument("In[", i, "] must be a vector.", 107 errors::InvalidArgument(
|
pooling_ops.cc | 45 errors::InvalidArgument("Sliding window ksize field must " 50 errors::InvalidArgument("Sliding window stride field must " 88 errors::InvalidArgument("ksize must be a vector, not shape ", 91 errors::InvalidArgument("Sliding window ksize field must " 100 errors::InvalidArgument("stride must be a vector, not shape ", 103 errors::InvalidArgument("Sliding window stride field must " 110 errors::InvalidArgument("Input to ", type_string(), 158 errors::InvalidArgument("Invalid data format")); 257 errors::InvalidArgument("Invalid data format")); 292 errors::InvalidArgument("Must supply ksize and stride arguments.")) [all...] |
spacetodepth_op.cc | 30 errors::InvalidArgument("Invalid data format")); 33 errors::InvalidArgument("Unsupported data format ", 40 errors::InvalidArgument("Block size should be > 1: ", block_size_)); 48 errors::InvalidArgument("Input rank should be ", kRequiredDims, 69 errors::InvalidArgument( 101 errors::InvalidArgument(
|
/external/tensorflow/tensorflow/core/common_runtime/ |
rendezvous_util.cc | 24 return errors::InvalidArgument( 29 return errors::InvalidArgument( 36 return errors::InvalidArgument("Rendezvous is null."); 63 done(errors::InvalidArgument( 113 status = errors::InvalidArgument("The tensor returned for ", key, 144 return errors::InvalidArgument("The tensor returned for ", key,
|