code: public long[] getShape() {
          if (variableType == VariableType.PLACEHOLDER && getArr() == null) {
              if (shape != null)
                  return shape;
              else
                  return new long[0];
          }
  
          long[] initialShape =  sameDiff.getShapeForVarName(getVarName());
          if(initialShape == null) {
              val arr = getArr();
              if(arr != null)
                  return arr.shape();
          }
  
          return initialShape;
      }
docs: Returns the shape of this variable
  @return Shape of the variable