Home
last modified time | relevance | path

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

/external/libtextclassifier/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/core/kernels/
Dscale_and_translate_op.cc504 for (const float* weight_ptr = weights_start; weight_ptr != weights_end; in GatherColumns() local
505 ++weight_ptr) { in GatherColumns()
506 float w = *weight_ptr; in GatherColumns()