original_docstring: This method was taken from src/data/make_dataset.py but modified
      to grayscale instead of rgb images
docstring: This method was taken from src/data/make_dataset.py but modified
  to grayscale instead of rgb images
docstring_tokens: This method was taken from src / data / make_dataset . py but modified to grayscale instead of rgb images
code: def crop(image: np.ndarray) -> List[np.ndarray]:
      """This method was taken from src/data/make_dataset.py but modified
      to grayscale instead of rgb images"""
      parts = []
      for r in range(0, image.shape[0], 50):
          for c in range(0, image.shape[1], 50):
              parts.append(image[r : r + 50, c : c + 50])
      return parts
code_tokens: def crop ( image : np . ndarray ) -> List [ np . ndarray ] : parts = [ ] for r in range ( 0 , image . shape [ 0 ] , 50 ) : for c in range ( 0 , image . shape [ 1 ] , 50 ) : parts . append ( image [ r : r + 50 , c : c + 50 ] ) return parts
short_docstring: This method was taken from src/data/make_dataset.py but modified
  to grayscale instead of rgb images
short_docstring_tokens: This method was taken from src / data / make_dataset . py but modified to grayscale instead of rgb images
comment: """This method was taken from src/data/make_dataset.py but modified
      to grayscale instead of rgb images"""