Model inference resulting in unknown rows and cols

opencv sets rows & cols to -1 for more-than-2-dim Mats.
please use outputsPB1.size (w/o braces !) in the same way you would use xxx.shape in python