diff options
Diffstat (limited to 'tests/networks/MobileNetNetwork.h')
-rw-r--r-- | tests/networks/MobileNetNetwork.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/networks/MobileNetNetwork.h b/tests/networks/MobileNetNetwork.h index 1bc8ad9a0c..8c3cb1fb2d 100644 --- a/tests/networks/MobileNetNetwork.h +++ b/tests/networks/MobileNetNetwork.h @@ -251,6 +251,13 @@ public: reshape.run(); } + /** Sync the results */ + void sync() + { + sync_if_necessary<TensorType>(); + sync_tensor_if_necessary<TensorType>(output); + } + private: void depthwise_conv_block_init(unsigned int idx, unsigned int ifm, unsigned int ofm) { |