What does command "shape" mean?

Hi, I’m using KDB+ 3.5 and I find there is a command in a script ( polstm.q https://github.com/krish240574/lstmq):

H:(shape H)#K;

It dose not work and report an error with “shape”.

So I wonder whether the command “shape” can only be used in KDB+ with version above 4.0 or is there any code to calculate number of rows and columns of a table?

You may find shape's definition right in the same script (polstm.q) now.

Hi Liu, 
I fixed that, it was a definition that usually resides in my q.q, I’ve included it inside the polstm.q for good measure. Thanks for pointing that out. Thanks, Flying. 

Kumar