We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d78cff0 commit 93139f8Copy full SHA for 93139f8
run_cpp_examples.sh
@@ -94,6 +94,21 @@ function custom-dataset() {
94
exit 1
95
fi
96
}
97
+function dcgan() {
98
+ start
99
+ mkdir build
100
+ cd build
101
+ cmake -DCMAKE_PREFIX_PATH=$LIBTORCH_PATH ..
102
+ make
103
+ if [ $? -eq 0 ]; then
104
+ echo "Successfully built $EXAMPLE"
105
+ ./$EXAMPLE # Run the executable
106
+ check_run_success $EXAMPLE
107
+ else
108
+ error "Failed to build $EXAMPLE"
109
+ exit 1
110
+ fi
111
+}
112
113
function mnist() {
114
start
@@ -141,6 +156,7 @@ function clean() {
141
156
function run_all() {
142
157
autograd
143
158
custom-dataset
159
+ dcgan
144
160
mnist
145
161
regression
146
162
0 commit comments