{"id":1576,"date":"2023-12-19T06:26:25","date_gmt":"2023-12-19T06:26:25","guid":{"rendered":"https:\/\/www.philippeadjiman.com\/blog\/?page_id=1576"},"modified":"2025-05-23T13:09:26","modified_gmt":"2025-05-23T13:09:26","slug":"deep-learning-gymnastic","status":"publish","type":"page","link":"https:\/\/philippeadjiman.com\/blog\/deep-learning-gymnastic\/","title":{"rendered":"Deep Learning Gymnastic"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a href=\"https:\/\/i0.wp.com\/www.philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"1024\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/www.philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image.png?resize=1024%2C1024&#038;ssl=1\" alt=\"\" class=\"wp-image-1588\" style=\"width:340px;height:340px\" srcset=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image.png?resize=768%2C768&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Want to stay in shape with your deep learning skills? Let&#8217;s lift some tensors, and learn (or revise) together useful and important skills or concepts when building deep learning models in TensorFlow or PyTorch. The posts below are heavily inspired from the amazing <a href=\"https:\/\/www.youtube.com\/playlist?list=PLAqhIrjkxbuWI23v9cThsA9GvCAUhRvKZ\">series of videos<\/a> from Andrej Karpathy on neural network.<\/p>\n\n\n<ul class=\"wp-block-latest-posts__list wp-block-latest-posts\"><li><div class=\"wp-block-latest-posts__featured-image alignleft\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"346\" src=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/07\/image-31-1.png?fit=1024%2C346&amp;ssl=1\" class=\"attachment-large size-large wp-post-image\" alt=\"\" style=\"max-width:256px;max-height:256px;\" srcset=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/07\/image-31-1.png?w=1662&amp;ssl=1 1662w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/07\/image-31-1.png?resize=300%2C101&amp;ssl=1 300w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/07\/image-31-1.png?resize=1024%2C346&amp;ssl=1 1024w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/07\/image-31-1.png?resize=768%2C260&amp;ssl=1 768w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/07\/image-31-1.png?resize=1536%2C519&amp;ssl=1 1536w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/div><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/philippeadjiman.com\/blog\/2023\/07\/16\/deep-learning-gymnastics-tensor-broadcasting\/\">Deep Learning Gymnastics #1: Tensor Broadcasting<\/a><div class=\"wp-block-latest-posts__post-excerpt\">Master broadcasting like a pro and learn how a single trick can make your deep learning code faster, cleaner, and more elegant.<\/div><\/li>\n<li><div class=\"wp-block-latest-posts__featured-image alignleft\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"534\" src=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image-7.png?fit=1024%2C534&amp;ssl=1\" class=\"attachment-large size-large wp-post-image\" alt=\"\" style=\"max-width:256px;max-height:256px;\" srcset=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image-7.png?w=1250&amp;ssl=1 1250w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image-7.png?resize=300%2C156&amp;ssl=1 300w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image-7.png?resize=1024%2C534&amp;ssl=1 1024w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2023\/12\/image-7.png?resize=768%2C401&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/div><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/philippeadjiman.com\/blog\/2023\/12\/23\/deep-learning-gymnastics-tensor-indexing\/\">Deep Learning Gymnastics #2: Tensor Indexing<\/a><div class=\"wp-block-latest-posts__post-excerpt\">Learn how smart indexing lets you build batches, embeddings, and masked ops efficiently in modern DL frameworks.<\/div><\/li>\n<li><div class=\"wp-block-latest-posts__featured-image alignleft\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"766\" src=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/02\/image-1-1536x1149-1.png?fit=1024%2C766&amp;ssl=1\" class=\"attachment-large size-large wp-post-image\" alt=\"\" style=\"max-width:256px;max-height:256px;\" srcset=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/02\/image-1-1536x1149-1.png?w=1536&amp;ssl=1 1536w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/02\/image-1-1536x1149-1.png?resize=300%2C224&amp;ssl=1 300w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/02\/image-1-1536x1149-1.png?resize=1024%2C766&amp;ssl=1 1024w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/02\/image-1-1536x1149-1.png?resize=768%2C575&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/div><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/philippeadjiman.com\/blog\/2024\/02\/03\/deep-learning-gymnastics-tensor-reshaping\/\">Deep Learning Gymnastics #3: Tensor (re)Shaping<\/a><div class=\"wp-block-latest-posts__post-excerpt\">Your tensors aren\u2019t the right shape? Learn how to reshape, squeeze, and stack them like a deep learning gymnast.<\/div><\/li>\n<li><div class=\"wp-block-latest-posts__featured-image alignleft\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"784\" src=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/03\/image-4-1024x784-1.png?fit=1024%2C784&amp;ssl=1\" class=\"attachment-large size-large wp-post-image\" alt=\"\" style=\"max-width:256px;max-height:256px;\" srcset=\"https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/03\/image-4-1024x784-1.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/03\/image-4-1024x784-1.png?resize=300%2C230&amp;ssl=1 300w, https:\/\/i0.wp.com\/philippeadjiman.com\/blog\/wp-content\/uploads\/2024\/03\/image-4-1024x784-1.png?resize=768%2C588&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/div><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/philippeadjiman.com\/blog\/2024\/03\/09\/deep-learning-gymnastics-4-master-your-llm-cross-entropy\/\">Deep Learning Gymnastics #4: Master Your (LLM) Cross Entropy<\/a><div class=\"wp-block-latest-posts__post-excerpt\">Use all the gymnastics tricks we&#8217;ve learned in order to master (LLM) cross-entropy in PyTorch and TensorFlow.<\/div><\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to stay in shape with your deep learning skills? Let&#8217;s lift some tensors, and learn (or revise) together useful and important skills or concepts when building deep learning models in TensorFlow or PyTorch. The posts below are heavily inspired from the amazing series of videos from Andrej Karpathy on neural network.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"nf_dc_page":"","footnotes":""},"class_list":["post-1576","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/pages\/1576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/comments?post=1576"}],"version-history":[{"count":2,"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/pages\/1576\/revisions"}],"predecessor-version":[{"id":1725,"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/pages\/1576\/revisions\/1725"}],"wp:attachment":[{"href":"https:\/\/philippeadjiman.com\/blog\/wp-json\/wp\/v2\/media?parent=1576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}