aboutsummaryrefslogtreecommitdiff
path: root/tests/networks/AlexNetNetwork.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/networks/AlexNetNetwork.h')
-rw-r--r--tests/networks/AlexNetNetwork.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/networks/AlexNetNetwork.h b/tests/networks/AlexNetNetwork.h
index 448cf31914..819111f897 100644
--- a/tests/networks/AlexNetNetwork.h
+++ b/tests/networks/AlexNetNetwork.h
@@ -564,6 +564,13 @@ public:
smx.run();
}
+ /** Sync the results */
+ void sync()
+ {
+ sync_if_necessary<TensorType>();
+ sync_tensor_if_necessary<TensorType>(output);
+ }
+
private:
struct DirectConv
{