Home
last modified time | relevance | path

Searched refs:SAFTM_LOG (Results 1 – 19 of 19) sorted by relevance

/external/libtextclassifier/native/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc55 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 …]
Dmodel-utils.cc39 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 …]
Dembedding-network-params-from-flatbuffer.h54 SAFTM_LOG(DFATAL) << "Not supported"; in UpdateTaskContextParameters()
/external/libtextclassifier/native/lang_id/common/file/
Dmmap.cc65 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 …]
Dfile-utils.cc38 SAFTM_LOG(ERROR) << "Error opening " << filename; in GetFileContent()
/external/libtextclassifier/native/lang_id/fb_model/
Dmodel-provider-from-fb.cc57 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/
Dlang-id.cc70 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/
Dfeature-extractor.cc40 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()
Dfel-parser.h93 SAFTM_LOG(ERROR) << "Unsafe char read"; in CurrentChar()
Dfeature-types.h108 SAFTM_LOG(ERROR) << "Invalid feature value " << value << " for " in GetFeatureValueName()
Dfel-parser.cc65 SAFTM_LOG(ERROR) << "Error in feature model, line " << item_line_number_ in ReportError()
/external/libtextclassifier/native/lang_id/common/
Dregistry.h163 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; \
Dembedding-network-params.cc38 SAFTM_LOG(FATAL) << "Unsupported quantization type: " << s; in ParseQuantizationType()
Dembedding-feature-extractor.cc60 SAFTM_LOG(ERROR) << "Unable to parse " << dim_str; in Setup()
Dembedding-network.cc46 SAFTM_LOG(FATAL) << "Unknown quant type: " in GetMatrixRowSizeInBytes()
142 SAFTM_LOG(FATAL) << "Unsupported weights quantization type: " in SparseReluProductPlusBias()
/external/libtextclassifier/native/lang_id/features/
Dchar-ngram-feature.cc37 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/
Dcompact-logging.h110 #define SAFTM_LOG(severity) \ macro
121 (x) || SAFTM_LOG(FATAL) << __FILE__ << ":" << __LINE__ \
164 #define SAFTM_DLOG SAFTM_LOG
Dlogging.h32 #define SAFTM_LOG LOG macro
/external/libtextclassifier/native/lang_id/common/math/
Dsoftmax.cc29 SAFTM_LOG(ERROR) << "label " << label << " outside range " in ComputeSoftmaxProbability()