https://github.com/serihiro/convolution_experiments
https://github.com/serihiro/convolution_experiments
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/serihiro/convolution_experiments
- Owner: serihiro
- Created: 2019-06-22T06:22:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T18:57:10.000Z (about 2 years ago)
- Last Synced: 2023-03-27T11:54:27.725Z (about 2 years ago)
- Language: Python
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://coveralls.io/github/serihiro/convolution_experiments?branch=master)
# 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
```sh
pytest python/my_convolution/tests
```