2018년 9월 24일 월요일

Sequential vs. Functional

Keras Models: Sequential vs. Functional

There are two ways to build Keras models: sequential and functional.

The sequential API allows you to create models layer-by-layer for most problems. It is limited in that it does not allow you to create models that share layers or have multiple inputs or outputs.

Alternatively, the functional API allows you to create models that have a lot more flexibility as you can easily define models where layers connect to more than just the previous and next layers. 
Reference:
https://jovianlin.io/keras-models-sequential-vs-functional/

2018년 9월 17일 월요일

To change the default setting to display line numbers in vi/vim:

To change the default setting to display line numbers in vi/vim:

vi ~/.vimrc
then add the following line to the file:

set number
Either we can source ~/.vimrc or save and quit by :wq, now vim session will have numbering

https://stackoverflow.com/a/31105979/8608003