Commit ebf64530 authored by Sebastian N.'s avatar Sebastian N.
Browse files

Fixed a syntax error

parent a5e9d403
......@@ -2,7 +2,7 @@
${member} = mx.nd.zeroes((${tc.join(tc.getLayerVariableMembers("batch_size")[member], ", ")},), ctx=mx_context)
</#list>
<#list tc.architecture.outputs as output>
${tc.getName(output)} = mx.nd.zeroes(((${tc.join(output.ioDeclaration.type.dimensions, ", ")},), ctx=mx_context)
${tc.getName(output)} = mx.nd.zeroes((${tc.join(output.ioDeclaration.type.dimensions, ", ")},), ctx=mx_context)
</#list>
<#list tc.architecture.streams as stream>
......
......@@ -136,7 +136,7 @@ class CNNSupervisedTrainer_Alexnet:
predictions_label = batch.label[0].as_in_context(mx_context)
with autograd.record():
predictions_ = mx.nd.zeroes(((10,), ctx=mx_context)
predictions_ = mx.nd.zeroes((10,), ctx=mx_context)
predictions_ = self._networks[0](data_)
......@@ -173,7 +173,7 @@ class CNNSupervisedTrainer_Alexnet:
]
if True:
predictions_ = mx.nd.zeroes(((10,), ctx=mx_context)
predictions_ = mx.nd.zeroes((10,), ctx=mx_context)
predictions_ = self._networks[0](data_)
......@@ -194,7 +194,7 @@ class CNNSupervisedTrainer_Alexnet:
]
if True:
predictions_ = mx.nd.zeroes(((10,), ctx=mx_context)
predictions_ = mx.nd.zeroes((10,), ctx=mx_context)
predictions_ = self._networks[0](data_)
......
......@@ -136,7 +136,7 @@ class CNNSupervisedTrainer_CifarClassifierNetwork:
softmax_label = batch.label[0].as_in_context(mx_context)
with autograd.record():
softmax_ = mx.nd.zeroes(((10,), ctx=mx_context)
softmax_ = mx.nd.zeroes((10,), ctx=mx_context)
softmax_ = self._networks[0](data_)
......@@ -173,7 +173,7 @@ class CNNSupervisedTrainer_CifarClassifierNetwork:
]
if True:
softmax_ = mx.nd.zeroes(((10,), ctx=mx_context)
softmax_ = mx.nd.zeroes((10,), ctx=mx_context)
softmax_ = self._networks[0](data_)
......@@ -194,7 +194,7 @@ class CNNSupervisedTrainer_CifarClassifierNetwork:
]
if True:
softmax_ = mx.nd.zeroes(((10,), ctx=mx_context)
softmax_ = mx.nd.zeroes((10,), ctx=mx_context)
softmax_ = self._networks[0](data_)
......
......@@ -136,7 +136,7 @@ class CNNSupervisedTrainer_VGG16:
predictions_label = batch.label[0].as_in_context(mx_context)
with autograd.record():
predictions_ = mx.nd.zeroes(((1000,), ctx=mx_context)
predictions_ = mx.nd.zeroes((1000,), ctx=mx_context)
predictions_ = self._networks[0](data_)
......@@ -173,7 +173,7 @@ class CNNSupervisedTrainer_VGG16:
]
if True:
predictions_ = mx.nd.zeroes(((1000,), ctx=mx_context)
predictions_ = mx.nd.zeroes((1000,), ctx=mx_context)
predictions_ = self._networks[0](data_)
......@@ -194,7 +194,7 @@ class CNNSupervisedTrainer_VGG16:
]
if True:
predictions_ = mx.nd.zeroes(((1000,), ctx=mx_context)
predictions_ = mx.nd.zeroes((1000,), ctx=mx_context)
predictions_ = self._networks[0](data_)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment