Typo in return of empty shape from extract_dims