Home
last modified time | relevance | path

Searched refs:weight_ptr (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/lang_id/common/
Dembedding-network.cc101 const float *weight_ptr = in SparseReluProductPlusBias() local
108 for (int j = 0; j < y_size; ++j, ++weight_ptr) { in SparseReluProductPlusBias()
110 y_data[j] += (*weight_ptr) * scale; in SparseReluProductPlusBias()
116 weight_ptr += y_size; in SparseReluProductPlusBias()
127 const float16 *weight_ptr = in SparseReluProductPlusBias() local
132 for (int j = 0; j < y_size; ++j, ++weight_ptr) { in SparseReluProductPlusBias()
133 y_data[j] += Float16To32(*weight_ptr) * scale; in SparseReluProductPlusBias()
136 weight_ptr += y_size; in SparseReluProductPlusBias()
/external/tensorflow/tensorflow/lite/kernels/
Dlsh_projection.cc125 const float* weight_ptr = GetTensorData<float>(weight); in RunningSignBit() local
135 if (weight_ptr == nullptr) { in RunningSignBit()
138 score += weight_ptr[i] * running_value; in RunningSignBit()
/external/tensorflow/tensorflow/core/kernels/image/
Dscale_and_translate_op.cc505 for (const float* weight_ptr = weights_start; weight_ptr != weights_end; in GatherColumns() local
506 ++weight_ptr) { in GatherColumns()
507 float w = *weight_ptr; in GatherColumns()