{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/a-guide-to-convolution-arithmetic-for-deep","title":"A guide to convolution arithmetic for deep learning","arxiv_id":"1603.07285","date":"2016-03-23","proceeding":null,"authors":["Vincent Dumoulin","Francesco Visin"],"abstract":"We introduce a guide to help deep learning practitioners understand and\nmanipulate convolutional neural network architectures. The guide clarifies the\nrelationship between various properties (input shape, kernel shape, zero\npadding, strides and output shape) of convolutional, pooling and transposed\nconvolutional layers, as well as the relationship between convolutional and\ntransposed convolutional layers. Relationships are derived for various cases,\nand are illustrated in order to make them intuitive.","url_abs":"http://arxiv.org/abs/1603.07285v2","url_pdf":"http://arxiv.org/pdf/1603.07285v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/vdumoulin/conv_arithmetic","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/JakobKallestad/InceptionV3-on-plankton-images","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/ashantanu/DCGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/atriumlts/subpixel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/avillemin/GANs","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/joelweber97/Python3_TF_Certificate","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/marbleton/FPGA_MNIST","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/mminamina/Transfer_Learning_NaimishNet---Keypoints_Detection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/mminamina/Udacity_ComputerVision_PeerReviewed_Project---Facial_Keypoints_Detection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/mrdbourke/tensorflow-deep-learning","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/ruiponte1990/svhn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/ryan-perk/olympic_mining","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/smosanu/acomMNIST","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/tapankumarmishra/machine_learning","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/tetrachrome/subpixel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"a-guide-to-convolution-arithmetic-for-deep","repo_url":"https://github.com/thisiskhan/tensorflow-developer-certificate-machine-learning-kit","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}}],"tasks":[{"task_slug":"deep-learning","task_name":"Deep Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1603.07285","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1603.07285"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ryan-perk/olympic_mining","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/marbleton/FPGA_MNIST","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mrdbourke/tensorflow-deep-learning","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/joelweber97/Python3_TF_Certificate","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mminamina/Transfer_Learning_NaimishNet---Keypoints_Detection","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ashantanu/DCGAN","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/atriumlts/subpixel","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/smosanu/acomMNIST","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/JakobKallestad/InceptionV3-on-plankton-images","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ruiponte1990/svhn","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/thisiskhan/tensorflow-developer-certificate-machine-learning-kit","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/avillemin/GANs","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vdumoulin/conv_arithmetic","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tapankumarmishra/machine_learning","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tetrachrome/subpixel","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mminamina/Udacity_ComputerVision_PeerReviewed_Project---Facial_Keypoints_Detection","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":11},"by_repo_kind":{"listed":{"samples":11,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"5dfb68ecbcb4180d","entry":"accuracy","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/train_torch.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/train_torch.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5dfb68ecbcb4180d"}},{"code_sha256_prefix":"99aff033f30ffad7","entry":"deprocess_image","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/MNIST_2_0/generate_images.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/MNIST_2_0/generate_images.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"99aff033f30ffad7"}},{"code_sha256_prefix":"a4f2e9be92b2cff9","entry":"evaluate","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/train_torch.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/train_torch.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a4f2e9be92b2cff9"}},{"code_sha256_prefix":"d690559d80c1ecd9","entry":"evaluate_labels","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/train_torch.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/train_torch.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d690559d80c1ecd9"}},{"code_sha256_prefix":"6a43ca5b793f1fd7","entry":"get_size","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"webapp/py/fpga.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/webapp/py/fpga.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6a43ca5b793f1fd7"}},{"code_sha256_prefix":"68849f97135fecb0","entry":"get_system_stats","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"webapp/py/fpga.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/webapp/py/fpga.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"68849f97135fecb0"}},{"code_sha256_prefix":"9c2941797e04037f","entry":"normalize","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/MNIST_2_0/generate_images.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/MNIST_2_0/generate_images.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9c2941797e04037f"}},{"code_sha256_prefix":"54613a0127330b5f","entry":"prepare_config","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/quantize.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/quantize.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"54613a0127330b5f"}},{"code_sha256_prefix":"f1436be1d5ded375","entry":"process_image","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/MNIST_2_0/generate_images.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/MNIST_2_0/generate_images.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f1436be1d5ded375"}},{"code_sha256_prefix":"412bd9351450fda2","entry":"quant_to_int","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/quantize.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/quantize.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"412bd9351450fda2"}},{"code_sha256_prefix":"db420a21c1aa09b8","entry":"train","repo":"marbleton/FPGA_MNIST","repo_kind":"listed","path":"net/train_keras.py","file_url":"https://github.com/marbleton/FPGA_MNIST/blob/HEAD/net/train_keras.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"db420a21c1aa09b8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}