summaryrefslogtreecommitdiff
path: root/nn/runtime/test/TestMemory.h
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2019-07-22 18:59:46 -0700
committerMichael Butler <butlermichael@google.com>2019-07-31 12:18:06 -0700
commit67e41a5467d7879b34f613069ade6cf61d5bd633 (patch)
tree444191a43f66be764738603041e505fdabb91da5 /nn/runtime/test/TestMemory.h
parentba75b06d41ab3dd0724bb89d64d9a20052a8fab4 (diff)
downloadml-67e41a5467d7879b34f613069ade6cf61d5bd633.tar.gz
clang-format for frameworks/ml/nn
This CL formats all of frameworks/ml/nn/* with the following commands: $ $CLANG_DIR/clang-format --style=file -i `find $NNAPI_DIR -name "*.cpp"` $ $CLANG_DIR/clang-format --style=file -i `find $NNAPI_DIR -name "*.h"` where: * "NNAPI_DIR" is "$ANDROID_BUILD_TOP/frameworks/ml/nn" * "CLANG_DIR" is "$ANDROID_BUILD_TOP/prebuilts/clang/host/linux-x86/clang-stable/bin" Bug: N/A Test: mma Change-Id: Idddbc7ecaeab76fb0bbee4250830333752a1f29b
Diffstat (limited to 'nn/runtime/test/TestMemory.h')
-rw-r--r--nn/runtime/test/TestMemory.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/nn/runtime/test/TestMemory.h b/nn/runtime/test/TestMemory.h
index 57df0fe68..3ce179026 100644
--- a/nn/runtime/test/TestMemory.h
+++ b/nn/runtime/test/TestMemory.h
@@ -43,9 +43,8 @@ const Matrix3x4 matrix1 = {{1.f, 2.f, 3.f, 4.f}, {5.f, 6.f, 7.f, 8.f}, {9.f, 10.
const Matrix3x4 matrix2 = {{100.f, 200.f, 300.f, 400.f},
{500.f, 600.f, 700.f, 800.f},
{900.f, 1000.f, 1100.f, 1200.f}};
-const Matrix3x4 matrix3 = {{20.f, 30.f, 40.f, 50.f},
- {21.f, 22.f, 23.f, 24.f},
- {31.f, 32.f, 33.f, 34.f}};
+const Matrix3x4 matrix3 = {
+ {20.f, 30.f, 40.f, 50.f}, {21.f, 22.f, 23.f, 24.f}, {31.f, 32.f, 33.f, 34.f}};
const Matrix3x4 expected3 = {{121.f, 232.f, 343.f, 454.f},
{526.f, 628.f, 730.f, 832.f},
{940.f, 1042.f, 1144.f, 1246.f}};