eaplatanios / tensorflow_scala

TensorFlow API for the Scala Programming Language
http://platanios.org/tensorflow_scala/
Apache License 2.0
936 stars 96 forks source link

Saving result #80

Closed rikvdkleij closed 6 years ago

rikvdkleij commented 6 years ago

According to the documentation of Saver I can do:

val saver = tf.Saver(variables)

but that does not compile. Only this compiles:

val saver = tf.Saver

but I can not call save on this saver.

rikvdkleij commented 6 years ago

Okay, I found out it is:

val saver = tf.saver()
eaplatanios commented 6 years ago

I might modify the API a bit eventually to make this smoother. Should I close this issue for now since your problem was resolved?

rikvdkleij commented 6 years ago

Yes, issue can be closed. You could fix the scaladoc in org.platanios.tensorflow.api.ops.variables.Saver.