OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:model_data
(Results
1 - 4
of
4
) sorted by null
/device/google/contexthub/firmware/os/algos/calibration/over_temp/
over_temp_cal.c
74
* Searches '
model_data
' for the sensor offset estimate closest to the current
97
* Removes the "old" offset estimates from '
model_data
' (i.e., eliminates the
104
* Removes the offset estimates from '
model_data
' at index, 'model_index'.
227
// as the first element in '
model_data
'.
228
over_temp_cal->nearest_offset = &over_temp_cal->
model_data
[0];
296
over_temp_cal->nearest_offset = &over_temp_cal->
model_data
[0];
390
const struct OverTempCalDataPt *
model_data
) {
392
ASSERT_NOT_NULL(
model_data
);
394
// Load only "good" data from the input '
model_data
'.
399
if (isValidOtcOffset(
model_data
[i].offset
[
all
...]
over_temp_cal.h
68
// Defines the maximum size of the '
model_data
' array.
115
// The maximum model error over all
model_data
points.
130
struct OverTempCalDataPt
model_data
[OVERTEMPCAL_MODEL_SIZE];
member in struct:OverTempCal
184
// The rules for accepting new offset estimates into the '
model_data
'
188
// 2) Find and replace the i'th '
model_data
' estimate data if:
193
// temp_lo_check <=
model_data
[i].offset_temp_celsius < temp_hi_check
194
// 3) If nothing was replaced, and the '
model_data
' buffer is not full then
209
// the '
model_data
' collection.
250
* estimate is removed from '
model_data
'.
276
* jump_start_model: When 'true' populates an empty '
model_data
' array usin
[
all
...]
/external/libtextclassifier/lang_id/
lang-id.cc
125
InMemoryModelData
model_data
(model_bytes);
127
if (!
model_data
.GetTaskSpec(context.mutable_spec())) {
132
if (!ParseNetworkParams(
model_data
, &context)) {
135
if (!ParseListOfKnownLanguages(
model_data
, &context)) {
241
bool ParseNetworkParams(const InMemoryModelData &
model_data
,
250
StringPiece bytes =
model_data
.GetBytesForInputFile(input_file_name);
273
bool ParseListOfKnownLanguages(const InMemoryModelData &
model_data
,
282
StringPiece bytes =
model_data
.GetBytesForInputFile(input_file_name);
/external/libtextclassifier/smartselect/
text-classification-model.cc
158
const char*
model_data
= reinterpret_cast<const char*>(mmap_handle.start());
local
160
LittleEndian::ToHost32(*reinterpret_cast<const uint32*>(
model_data
));
161
model_data
+= sizeof(*selection_model_length);
162
*selection_model =
model_data
;
163
model_data
+= *selection_model_length;
166
LittleEndian::ToHost32(*reinterpret_cast<const uint32*>(
model_data
));
167
model_data
+= sizeof(*sharing_model_length);
168
*sharing_model =
model_data
;
Completed in 815 milliseconds