OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:weight_ptr
(Results
1 - 2
of
2
) sorted by null
/external/libtextclassifier/lang_id/common/
embedding-network.cc
101
const float *
weight_ptr
=
local
104
// Invariant 1:
weight_ptr
points to the beginning of the i-th row from
108
for (int j = 0; j < y_size; ++j, ++
weight_ptr
) {
109
// Invariant 2:
weight_ptr
points to weights[i][j].
110
y_data[j] += (*
weight_ptr
) * scale;
113
// We don't update y_data, but we still have to move
weight_ptr
to the
116
weight_ptr
+= y_size;
127
const float16 *
weight_ptr
=
local
132
for (int j = 0; j < y_size; ++j, ++
weight_ptr
) {
133
y_data[j] += Float16To32(*
weight_ptr
) * scale
[
all
...]
/external/tensorflow/tensorflow/core/kernels/
scale_and_translate_op.cc
504
for (const float*
weight_ptr
= weights_start;
weight_ptr
!= weights_end;
505
++
weight_ptr
) {
506
float w = *
weight_ptr
;
Completed in 953 milliseconds