Home
last modified time | relevance | path

Searched refs:accumulators (Results 1 – 25 of 253) sorted by relevance

1234567891011

/external/XNNPACK/test/
Dfully-connected-operator-tester.h143 std::vector<int32_t> accumulators(batch_size() * output_channels()); in TestQU8()
159 accumulators[i * output_channels() + oc] = bias[oc]; in TestQU8()
163 std::fill(accumulators.begin(), accumulators.end(), 0); in TestQU8()
169 accumulators[i * output_channels() + oc] += in TestQU8()
179 accumulators[i * output_channels() + oc] += in TestQU8()
188 const int32_t accumulated_min = *std::min_element(accumulators.cbegin(), accumulators.cend()); in TestQU8()
189 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestQU8()
197 std::transform(accumulators.cbegin(), accumulators.cend(), output_ref.begin(), in TestQU8()
Dgavgpool-microkernel-tester.h162 std::vector<int32_t> accumulators(channels());
195 accumulators[c] = acc;
217 << ", acc = " << accumulators[c];
220 << ", acc = " << accumulators[c];
237 std::vector<int32_t> accumulators(channels());
271 accumulators[c] = acc;
294 << ", acc = " << accumulators[c];
297 << ", acc = " << accumulators[c];
314 std::vector<int32_t> accumulators(channels());
347 accumulators[c] = acc;
[all …]
Ddwconv-microkernel-tester.h185 std::vector<int32_t> accumulators(width() * channels());
225 accumulators[x * channels() + c] = acc;
230 const int32_t accumulated_min = *std::min_element(accumulators.cbegin(), accumulators.cend());
231 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend());
257 …output_ref[x * channels() + c] = xnn_qu8_requantize_q31(accumulators[x * channels() + c], scalar_r…
278 … << "x = " << x << ", channel = " << c << ", accumulator = " << accumulators[x * channels() + c];
298 std::vector<int32_t> accumulators(width() * channels());
338 accumulators[x * channels() + c] = acc;
343 const int32_t accumulated_min = *std::min_element(accumulators.cbegin(), accumulators.cend());
344 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend());
[all …]
Dconvolution-operator-tester.h521 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestNHWCxQS8()
539accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8()
547 std::fill(accumulators.begin(), accumulators.end(), 0); in TestNHWCxQS8()
563accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8()
588accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8()
604 const int32_t accumulated_min = *std::min_element(accumulators.cbegin(), accumulators.cend()); in TestNHWCxQS8()
605 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestNHWCxQS8()
613 std::transform(accumulators.cbegin(), accumulators.cend(), output_ref.begin(), in TestNHWCxQS8()
688 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestNHWCxQU8()
707accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQU8()
[all …]
Ddeconvolution-operator-tester.h497 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestQU8()
516accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestQU8()
524 std::fill(accumulators.begin(), accumulators.end(), 0); in TestQU8()
540accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestQU8()
555 const int32_t accumulated_min = *std::min_element(accumulators.cbegin(), accumulators.cend()); in TestQU8()
556 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestQU8()
564 std::transform(accumulators.cbegin(), accumulators.cend(), output_ref.begin(), in TestQU8()
773 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestSetupQU8()
794accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestSetupQU8()
802 std::fill(accumulators.begin(), accumulators.end(), 0); in TestSetupQU8()
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DLoadTPUEmbeddingAdagradParameters.pbtxt8 name: "accumulators"
44 name: "accumulators"
87 name: "accumulators"
DRetrieveTPUEmbeddingProximalAdagradParameters.pbtxt8 name: "accumulators"
44 name: "accumulators"
87 name: "accumulators"
DRetrieveTPUEmbeddingAdagradParameters.pbtxt8 name: "accumulators"
44 name: "accumulators"
87 name: "accumulators"
DLoadTPUEmbeddingProximalAdagradParameters.pbtxt8 name: "accumulators"
44 name: "accumulators"
87 name: "accumulators"
DLoadTPUEmbeddingAdadeltaParameters.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
DLoadTPUEmbeddingFTRLParameters.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
DLoadTPUEmbeddingMDLAdagradLightParameters.pbtxt8 name: "accumulators"
52 name: "accumulators"
103 name: "accumulators"
DLoadTPUEmbeddingAdagradParametersGradAccumDebug.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
DRetrieveTPUEmbeddingFTRLParameters.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
DRetrieveTPUEmbeddingProximalAdagradParametersGradAccumDebug.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
DLoadTPUEmbeddingAdadeltaParametersGradAccumDebug.pbtxt8 name: "accumulators"
52 name: "accumulators"
103 name: "accumulators"
DRetrieveTPUEmbeddingMDLAdagradLightParameters.pbtxt8 name: "accumulators"
52 name: "accumulators"
103 name: "accumulators"
DRetrieveTPUEmbeddingAdagradParametersGradAccumDebug.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
DLoadTPUEmbeddingProximalAdagradParametersGradAccumDebug.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
DRetrieveTPUEmbeddingFTRLParametersGradAccumDebug.pbtxt8 name: "accumulators"
52 name: "accumulators"
103 name: "accumulators"
DRetrieveTPUEmbeddingAdadeltaParametersGradAccumDebug.pbtxt8 name: "accumulators"
52 name: "accumulators"
103 name: "accumulators"
DLoadTPUEmbeddingFTRLParametersGradAccumDebug.pbtxt8 name: "accumulators"
52 name: "accumulators"
103 name: "accumulators"
DRetrieveTPUEmbeddingAdadeltaParameters.pbtxt8 name: "accumulators"
48 name: "accumulators"
95 name: "accumulators"
/external/tensorflow/tensorflow/python/keras/
Doptimizer_v1.py262 accumulators = [K.zeros(K.int_shape(p), dtype=K.dtype(p)) for p in params]
263 self.weights = accumulators
264 return accumulators
268 accumulators = self._create_all_weights(params)
278 for p, g, a in zip(params, grads, accumulators):
336 accumulators = [K.zeros(shape) for shape in shapes]
337 self.weights = accumulators
338 return accumulators
342 accumulators = self._create_all_weights(params)
353 for p, g, a in zip(params, grads, accumulators):
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RetrieveTPUEmbeddingAdagradParameters.pbtxt11 name: "accumulators"
13 Parameter accumulators updated by the Adagrad optimization algorithm.

1234567891011