{"id":13475350,"url":"https://github.com/vdumoulin/conv_arithmetic","last_synced_at":"2025-09-29T02:31:53.421Z","repository":{"id":37450918,"uuid":"52451887","full_name":"vdumoulin/conv_arithmetic","owner":"vdumoulin","description":"A technical report on convolution arithmetic in the context of deep learning","archived":true,"fork":false,"pushed_at":"2023-06-08T21:06:47.000Z","size":5638,"stargazers_count":14254,"open_issues_count":8,"forks_count":2291,"subscribers_count":341,"default_branch":"master","last_synced_at":"2025-03-16T16:11:38.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vdumoulin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-02-24T15:18:33.000Z","updated_at":"2025-03-14T05:55:36.000Z","dependencies_parsed_at":"2022-07-12T16:18:04.225Z","dependency_job_id":"8968db8c-6926-4629-8f3b-9b627bb7e13a","html_url":"https://github.com/vdumoulin/conv_arithmetic","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vdumoulin/conv_arithmetic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdumoulin%2Fconv_arithmetic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdumoulin%2Fconv_arithmetic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdumoulin%2Fconv_arithmetic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdumoulin%2Fconv_arithmetic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdumoulin","download_url":"https://codeload.github.com/vdumoulin/conv_arithmetic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdumoulin%2Fconv_arithmetic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277456457,"owners_count":25820956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-29T02:00:09.175Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:01:19.654Z","updated_at":"2025-09-29T02:31:52.991Z","avatar_url":"https://github.com/vdumoulin.png","language":"TeX","readme":"# Convolution arithmetic\n\nA technical report on convolution arithmetic in the context of deep learning.\n\nThe code and the images of this tutorial are free to use as regulated by the \nlicence and subject to proper attribution:\n\n* \\[1\\] Vincent Dumoulin, Francesco Visin - [A guide to convolution arithmetic\n  for deep learning](https://arxiv.org/abs/1603.07285)\n  ([BibTeX](https://gist.github.com/fvisin/165ca9935392fa9600a6c94664a01214))\n\n## Convolution animations\n\n_N.B.: Blue maps are inputs, and cyan maps are outputs._\n\n\u003ctable style=\"width:100%; table-layout:fixed;\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/no_padding_no_strides.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/arbitrary_padding_no_strides.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/same_padding_no_strides.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/full_padding_no_strides.gif\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eNo padding, no strides\u003c/td\u003e\n    \u003ctd\u003eArbitrary padding, no strides\u003c/td\u003e\n    \u003ctd\u003eHalf padding, no strides\u003c/td\u003e\n    \u003ctd\u003eFull padding, no strides\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/no_padding_strides.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/padding_strides.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/padding_strides_odd.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eNo padding, strides\u003c/td\u003e\n    \u003ctd\u003ePadding, strides\u003c/td\u003e\n    \u003ctd\u003ePadding, strides (odd)\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Transposed convolution animations\n\n_N.B.: Blue maps are inputs, and cyan maps are outputs._\n\n\u003ctable style=\"width:100%; table-layout:fixed;\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/no_padding_no_strides_transposed.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/arbitrary_padding_no_strides_transposed.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/same_padding_no_strides_transposed.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/full_padding_no_strides_transposed.gif\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eNo padding, no strides, transposed\u003c/td\u003e\n    \u003ctd\u003eArbitrary padding, no strides, transposed\u003c/td\u003e\n    \u003ctd\u003eHalf padding, no strides, transposed\u003c/td\u003e\n    \u003ctd\u003eFull padding, no strides, transposed\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/no_padding_strides_transposed.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/padding_strides_transposed.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/padding_strides_odd_transposed.gif\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eNo padding, strides, transposed\u003c/td\u003e\n    \u003ctd\u003ePadding, strides, transposed\u003c/td\u003e\n    \u003ctd\u003ePadding, strides, transposed (odd)\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Dilated convolution animations\n\n_N.B.: Blue maps are inputs, and cyan maps are outputs._\n\n\u003ctable style=\"width:25%\"; table-layout:fixed;\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg width=\"150px\" src=\"gif/dilation.gif\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eNo padding, no stride, dilation\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Generating the Makefile\n\nFrom the repository's root directory:\n\n``` bash\n$ ./bin/generate_makefile\n```\n## Generating the animations\n\nFrom the repository's root directory:\n\n``` bash\n$ make all_animations\n```\n\nThe animations will be output to the `gif` directory. Individual animation steps\nwill be output in PDF format to the `pdf` directory and in PNG format to the\n`png` directory.\n\n## Compiling the document\n\nFrom the repository's root directory:\n\n``` bash\n$ make\n```\n","funding_links":[],"categories":["TeX","Deep Learning","Related techniques","Machine Learning Tutorials","其他_机器视觉","Angular","etc"],"sub_categories":["Networks","Variants","Data Management","网络服务_其他","Korean"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdumoulin%2Fconv_arithmetic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdumoulin%2Fconv_arithmetic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdumoulin%2Fconv_arithmetic/lists"}