Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.1 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.1 KB

Coverage Status

About this repository

  • This repository contains my some convolution implementations

Convolution implementations

  • All convolution implenentations are implemented in python/my_convolution/src/my_convolution.py.

direct style

  • my_convolution.convolution_with_numpy( x: np.ndarray, W: np.ndarray, stride: int = 1, pad: int = 0)
  • my_convolution.convolution_with_standard_library( x: List[List[List[List[float]]]], W: List[List[List[List[float]]]], stride: int = 1, pad: int = 0)

im2col style

  • my_convolution.convolution_with_im2col( x: List[List[List[List[float]]]], W: List[List[List[List[float]]]], stride: int = 1, pad: int = 0)
  • my_convolution.convolution_with_im2col_and_gemm( x: List[List[List[List[float]]]], W: List[List[List[List[float]]]], stride: int = 1, pad: int = 0)

Tests for convolution implementations

pytest python/my_convolution/tests