/external/XNNPACK/test/ |
D | fully-connected-operator-tester.h | 143 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()
|
D | gavgpool-microkernel-tester.h | 162 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 …]
|
D | dwconv-microkernel-tester.h | 185 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 …]
|
D | convolution-operator-tester.h | 521 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestNHWCxQS8() 539 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8() 547 std::fill(accumulators.begin(), accumulators.end(), 0); in TestNHWCxQS8() 563 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8() 588 …accumulators[(((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() 707 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQU8() [all …]
|
D | deconvolution-operator-tester.h | 497 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestQU8() 516 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestQU8() 524 std::fill(accumulators.begin(), accumulators.end(), 0); in TestQU8() 540 …accumulators[(((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() 794 …accumulators[(((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/ |
D | LoadTPUEmbeddingAdagradParameters.pbtxt | 8 name: "accumulators" 44 name: "accumulators" 87 name: "accumulators"
|
D | RetrieveTPUEmbeddingProximalAdagradParameters.pbtxt | 8 name: "accumulators" 44 name: "accumulators" 87 name: "accumulators"
|
D | RetrieveTPUEmbeddingAdagradParameters.pbtxt | 8 name: "accumulators" 44 name: "accumulators" 87 name: "accumulators"
|
D | LoadTPUEmbeddingProximalAdagradParameters.pbtxt | 8 name: "accumulators" 44 name: "accumulators" 87 name: "accumulators"
|
D | LoadTPUEmbeddingAdadeltaParameters.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
D | LoadTPUEmbeddingFTRLParameters.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
D | LoadTPUEmbeddingMDLAdagradLightParameters.pbtxt | 8 name: "accumulators" 52 name: "accumulators" 103 name: "accumulators"
|
D | LoadTPUEmbeddingAdagradParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
D | RetrieveTPUEmbeddingFTRLParameters.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
D | RetrieveTPUEmbeddingProximalAdagradParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
D | LoadTPUEmbeddingAdadeltaParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 52 name: "accumulators" 103 name: "accumulators"
|
D | RetrieveTPUEmbeddingMDLAdagradLightParameters.pbtxt | 8 name: "accumulators" 52 name: "accumulators" 103 name: "accumulators"
|
D | RetrieveTPUEmbeddingAdagradParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
D | LoadTPUEmbeddingProximalAdagradParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
D | RetrieveTPUEmbeddingFTRLParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 52 name: "accumulators" 103 name: "accumulators"
|
D | RetrieveTPUEmbeddingAdadeltaParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 52 name: "accumulators" 103 name: "accumulators"
|
D | LoadTPUEmbeddingFTRLParametersGradAccumDebug.pbtxt | 8 name: "accumulators" 52 name: "accumulators" 103 name: "accumulators"
|
D | RetrieveTPUEmbeddingAdadeltaParameters.pbtxt | 8 name: "accumulators" 48 name: "accumulators" 95 name: "accumulators"
|
/external/tensorflow/tensorflow/python/keras/ |
D | optimizer_v1.py | 262 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/ |
D | api_def_RetrieveTPUEmbeddingAdagradParameters.pbtxt | 11 name: "accumulators" 13 Parameter accumulators updated by the Adagrad optimization algorithm.
|