Connection of Caffe deep net upper layers and word2vec model