--
You received this message because you are subscribed to the Google Groups "OptiML" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optiml+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[info] Loading project definition from /Users/qiqi/Workstation/hyperdsl/published/OptiML/project
[info] Set current project to OptiML (in build file:/Users/qiqi/Workstation/hyperdsl/published/OptiML/)
[info] Compiling 7 Scala sources to /Users/qiqi/Workstation/hyperdsl/published/OptiML/apps/target/scala-2.10/classes...
[error] /Users/qiqi/Workstation/hyperdsl/published/OptiML/apps/src/NeuralNetwork/mnist_tutorial/mnist_tutorial.scala:36: type mismatch;
[error] found : X.type (with underlying type mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Double]])
[error] required: mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Float]]
[error] val o0 = (conv_fw (X, 1, w0, b0, 6, 25, 5, 2, 784, 28)).map(ReLU)
[error] ^
[error] /Users/qiqi/Workstation/hyperdsl/published/OptiML/apps/src/NeuralNetwork/mnist_tutorial/mnist_tutorial.scala:42: type mismatch;
[error] found : w2.type (with underlying type mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Double]])
[error] required: mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Float]]
[error] val o2 = (conv_fw (o1, 6, w2, b2, 6, 25, 5, 2, 196, 14)).map(ReLU)
[error] ^
[error] /Users/qiqi/Workstation/hyperdsl/published/OptiML/apps/src/NeuralNetwork/mnist_tutorial/mnist_tutorial.scala:48: type mismatch;
[error] found : w4.type (with underlying type mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Double]])
[error] required: mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Float]]
[error] val o4 = (fullycon_fw (o3, w4, b4)).map(ReLU)
[error] ^
[error] /Users/qiqi/Workstation/hyperdsl/published/OptiML/apps/src/NeuralNetwork/mnist_tutorial/mnist_tutorial.scala:51: type mismatch;
[error] found : w5.type (with underlying type mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Double]])
[error] required: mnist_tutorial.this.Rep[mnist_tutorial.this.DenseMatrix[Float]]
[error] val o5 = (softmax_fw (o4, w5, b5))
[error] ^
[error] /Users/qiqi/Workstation/hyperdsl/published/OptiML/apps/src/NeuralNetwork/mnist_tutorial/mnist_tutorial.scala:633: type mismatch;
[error] found : mnist_tutorial.this.Var[Double]
[error] required: ?{def +: ?}
[error] Note that implicit conversions are not applicable because they are ambiguous:
[error] both method any2stringadd in object Predef of type [Suppressed for performance reasons (SI-6149). Compile with -DshowSuppressedErrors=true to show].
[error] and method infixNumericOps in trait ExtraImplicits of type [Suppressed for performance reasons (SI-6149). Compile with -DshowSuppressedErrors=true to show].
[error] are possible conversion functions from mnist_tutorial.this.Var[Double] to ?{def +: ?}
[error] classification_error += get_classification_error(o5, y.slice(idx*minib_size, (idx+1)*minib_size))
[error] ^
[error] /Users/qiqi/Workstation/hyperdsl/published/OptiML/apps/src/NeuralNetwork/mnist_tutorial/mnist_tutorial.scala:223: Any does not take parameters
[error] val prob = o5(i,j)
[error] ^
[error] 6 errors found
[error] (OptiML-apps/compile:compile) Compilation failed