4 ms·
It's a well designed API for using deep neural networks rather than an API for doing optimized mathematical operations. Compare how you build some vaguely comp
by nl 10y ago
It's a well designed API for using deep neural networks rather than an API for doing optimized mathematical operations.
Compare how you build some vaguely comparable models in Keras[1] and raw TensorFlow[2]. Keras uses TensorFlow (or Theano) underneath, so there is no performance penalty.
It's like in Python machine learning, most people use Scikit instead of implementing things in numpy.
[1] https://github.com/fchollet/keras/blob/master/examples/mnist_mlp.py#L39 https://github.com/fchollet/keras/blob/master/examples/mnist...
[2] https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/mnist/mnist_softmax.py#L39 https://github.com/tensorflow/tensorflow/blob/master/tensorf...
- denzil_correa 10y agoThanks! Your example to explain the differences makes me more leaning towards Keras. It feels like Scikit for Deep Learning.
- nl 10y agoYes, that's a decent analogy. If you are already familiar with Scikit then TFLearn is worth looking at too.