diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-08-07 15:16:18 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-08-07 15:49:42 +0000 |
commit | be2e87c45aa3a1d1b235959db9cedba7ab4b52d8 (patch) | |
tree | 43516f50df54cf1403ccc6f7ce7871f75098eb45 /reference_model/src/ops | |
parent | c1d1c639aa10dd6c1c8dce065d6be549768ca4f4 (diff) | |
download | reference_model-be2e87c45aa3a1d1b235959db9cedba7ab4b52d8.tar.gz |
Update formatting based on clang-format 14
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I22939e75a08349816a9c103eb7312edcec53855e
Diffstat (limited to 'reference_model/src/ops')
-rw-r--r-- | reference_model/src/ops/tensor_ops.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/reference_model/src/ops/tensor_ops.cc b/reference_model/src/ops/tensor_ops.cc index 96fd41c..acdeeeb 100644 --- a/reference_model/src/ops/tensor_ops.cc +++ b/reference_model/src/ops/tensor_ops.cc @@ -1233,9 +1233,10 @@ int OpDepthwiseConv2d<InDtype, WeightDtype, OutDtype>::eval() for (int fw = 0; fw < f_width; fw++) { // Perform multiplication in AccEigenType then cast to OutEigenType - this->output->getTensor()(ob, oh, ow, ic * f_multiplier + cm) += (OutEigenType)( - (AccEigenType)input_extract_patches(ob, fh, fw, ow * out_height + oh, ic) * - (AccEigenType)weight_val(fh, fw, ic, cm)); + this->output->getTensor()(ob, oh, ow, ic * f_multiplier + cm) += + (OutEigenType)((AccEigenType)input_extract_patches(ob, fh, fw, ow * out_height + oh, + ic) * + (AccEigenType)weight_val(fh, fw, ic, cm)); } } } |