/external/libtextclassifier/native/lang_id/common/flatbuffers/ |
D | embedding-network-params-from-flatbuffer.cc | 55 SAFTM_LOG(ERROR) << "Quantization type " in VerifyQuantizationScales() 63 SAFTM_LOG(ERROR) << "quantization scales not fully inside bytes"; in VerifyQuantizationScales() 75 SAFTM_LOG(ERROR) << "Wrong matrix geometry: " << matrix.rows << " x " in VerifyMatrix() 98 SAFTM_LOG(ERROR) << "UINT4 doesn't work with odd #cols" << matrix.cols; in VerifyMatrix() 114 SAFTM_LOG(ERROR) << "Unsupported quantization type " in VerifyMatrix() 119 SAFTM_LOG(ERROR) << "matrix.elements == nullptr"; in VerifyMatrix() 125 SAFTM_LOG(ERROR) << "elements not fully inside bytes"; in VerifyMatrix() 138 SAFTM_LOG(ERROR) << "#rows " << weights.rows << " != " << input_size; in GoodLayerGeometry() 142 SAFTM_LOG(ERROR) << "bad bias vector geometry: " << bias.rows << " x " in GoodLayerGeometry() 148 SAFTM_LOG(ERROR) << "#cols " << weights.cols << " != " << bias_dimension; in GoodLayerGeometry() [all …]
|
D | model-utils.cc | 39 SAFTM_LOG(WARNING) in ClearlyFailsChecksum() 46 SAFTM_LOG(ERROR) << "Corrupt model: different CRC32: " << actual_crc32 in ClearlyFailsChecksum() 57 SAFTM_LOG(ERROR) << "GetModel called on an empty sequence of bytes"; in GetVerifiedModelFromBytes() 63 SAFTM_LOG(ERROR) << "Not a valid Model flatbuffer"; in GetVerifiedModelFromBytes() 78 SAFTM_LOG(ERROR) << "GetInputByName called with model == nullptr"; in GetInputByName() 85 SAFTM_LOG(ERROR) << "null inputs"; in GetInputByName() 101 SAFTM_LOG(ERROR) << "ModelInput has no content"; in GetInputBytes() 106 SAFTM_LOG(ERROR) << "null input data"; in GetInputBytes() 115 SAFTM_LOG(ERROR) << "null context"; in FillParameters() 122 SAFTM_LOG(ERROR) << "null list of parameters"; in FillParameters() [all …]
|
D | embedding-network-params-from-flatbuffer.h | 54 SAFTM_LOG(DFATAL) << "Not supported"; in UpdateTaskContextParameters()
|
/external/libtextclassifier/native/lang_id/common/file/ |
D | mmap.cc | 65 SAFTM_LOG(ERROR) << "Error closing handle: " << last_error << ": " in ~Win32HandleCloser() 88 SAFTM_LOG(ERROR) << "Error opening " << filename << ": " << last_error; in MmapFile() 104 SAFTM_LOG(ERROR) << "Unable to stat fd: " << last_error; in MmapFile() 115 SAFTM_LOG(ERROR) << "Error while mmapping: " << last_error; in MmapFile() 127 SAFTM_LOG(ERROR) << "Error while mmapping: " << last_error; in MmapFile() 142 SAFTM_LOG(ERROR) << "Error during Unmap / UnmapViewOfFile: " << last_error; in Unmap() 160 SAFTM_LOG(ERROR) << "Error closing file descriptor: " << last_error; in ~FileCloser() 175 SAFTM_LOG(ERROR) << "Error opening " << filename << ": " << last_error; in MmapFile() 192 SAFTM_LOG(ERROR) << "Unable to stat fd: " << last_error; in MmapFile() 223 SAFTM_LOG(ERROR) << "Error while mmapping: " << last_error; in MmapFile() [all …]
|
D | file-utils.cc | 38 SAFTM_LOG(ERROR) << "Error opening " << filename; in GetFileContent()
|
/external/libtextclassifier/native/lang_id/fb_model/ |
D | model-provider-from-fb.cc | 57 SAFTM_LOG(ERROR) << "Unable to initialize ModelProviderFromFlatbuffer"; in Initialize() 74 SAFTM_LOG(ERROR) << "Unable to find list of supported_languages"; in Initialize() 93 SAFTM_LOG(ERROR) << "Unable to get bytes for model input " << kInputName; in InitNetworkParams() 99 SAFTM_LOG(ERROR) << "EmbeddingNetworkParamsFromFlatbuffer not valid"; in InitNetworkParams()
|
/external/libtextclassifier/native/lang_id/ |
D | lang-id.cc | 70 SAFTM_LOG(ERROR) << "Invalid model provider"; in LangIdImpl() 76 SAFTM_LOG(ERROR) << "No NN params"; in LangIdImpl() 83 SAFTM_LOG(ERROR) << "No known languages"; in LangIdImpl() 89 SAFTM_LOG(ERROR) << "Unable to Setup() LangId"; in LangIdImpl() 93 SAFTM_LOG(ERROR) << "Unable to Init() LangId"; in LangIdImpl() 231 SAFTM_LOG(ERROR) << "Broken token: \"" << token << "\""; in Setup() 248 SAFTM_LOG(ERROR) << "Softmax label " << label << " outside range [0, " in GetLanguageForSoftmaxLabel()
|
/external/libtextclassifier/native/lang_id/common/fel/ |
D | feature-extractor.cc | 40 SAFTM_LOG(ERROR) << "Error parsing the FEL spec " << source; in Parse() 58 SAFTM_LOG(ERROR) << "Illegal domain size for feature " << ft->name() in InitializeFeatureTypes() 90 SAFTM_LOG(DFATAL) << "Unable to parse '" << value_str in GetIntParameter() 103 SAFTM_LOG(DFATAL) << "Illegal value '" << value << "' for bool parameter " in GetBoolParameter()
|
D | fel-parser.h | 93 SAFTM_LOG(ERROR) << "Unsafe char read"; in CurrentChar()
|
D | feature-types.h | 108 SAFTM_LOG(ERROR) << "Invalid feature value " << value << " for " in GetFeatureValueName()
|
D | fel-parser.cc | 65 SAFTM_LOG(ERROR) << "Error in feature model, line " << item_line_number_ in ReportError()
|
/external/libtextclassifier/native/lang_id/common/ |
D | registry.h | 163 SAFTM_LOG(ERROR) << "Duplicate component: " << key; in Add() 176 SAFTM_LOG(ERROR) << "Unknown " << name() << " component: " << key; in Lookup() 253 SAFTM_LOG(ERROR) << "Unknown RegisterableClass " << name; in Create() 287 SAFTM_LOG(ERROR) << "Problem registering " << component_name; \
|
D | embedding-network-params.cc | 38 SAFTM_LOG(FATAL) << "Unsupported quantization type: " << s; in ParseQuantizationType()
|
D | embedding-feature-extractor.cc | 60 SAFTM_LOG(ERROR) << "Unable to parse " << dim_str; in Setup()
|
D | embedding-network.cc | 46 SAFTM_LOG(FATAL) << "Unknown quant type: " in GetMatrixRowSizeInBytes() 142 SAFTM_LOG(FATAL) << "Unsupported weights quantization type: " in SparseReluProductPlusBias()
|
/external/libtextclassifier/native/lang_id/features/ |
D | char-ngram-feature.cc | 37 SAFTM_LOG(ERROR) << "No support for include_terminators=true"; in Setup() 43 SAFTM_LOG(ERROR) << "No support for include_spaces=true"; in Setup() 49 SAFTM_LOG(ERROR) << "No support for use_equal_weight=true"; in Setup()
|
/external/libtextclassifier/native/lang_id/common/lite_base/ |
D | compact-logging.h | 110 #define SAFTM_LOG(severity) \ macro 121 (x) || SAFTM_LOG(FATAL) << __FILE__ << ":" << __LINE__ \ 164 #define SAFTM_DLOG SAFTM_LOG
|
D | logging.h | 32 #define SAFTM_LOG LOG macro
|
/external/libtextclassifier/native/lang_id/common/math/ |
D | softmax.cc | 29 SAFTM_LOG(ERROR) << "label " << label << " outside range " in ComputeSoftmaxProbability()
|