code: public int getLayerSize() {
          if (lookupTable != null && lookupTable.getWeights() != null) {
              return lookupTable.getWeights().columns();
          } else
              return layerSize;
      }
docs: This method returns word vector size
  
  @return