Fix wrong implementation of rowLength for embeddings and implement getAtomCount.
rowLength is meant to return the number of columns in the first structured level, and that worked for row representations. However for embeddings representations is was returning the number of atoms.
If you need the total number of atoms, the proper method is getAtomCount.
Fix wrong implementation of rowLength for embeddings and implement getAtomCount.
rowLength is meant to return the number of columns in the first structured level, and that worked for row representations. However for embeddings representations is was returning the number of atoms.
If you need the total number of atoms, the proper method is getAtomCount.