{"id":13816,"date":"2022-01-29T13:10:00","date_gmt":"2022-01-29T09:40:00","guid":{"rendered":"https:\/\/shahaab-co.com\/mag\/?p=13816"},"modified":"2024-11-29T18:36:30","modified_gmt":"2024-11-29T15:06:30","slug":"from-pytorch-to-pytorch-lightning","status":"publish","type":"post","link":"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/","title":{"rendered":"\u0627\u0632 Pytorch \u0628\u0647 Pytorch lightning &#8211; \u0645\u0639\u0631\u0641\u06cc \u06a9\u0644\u06cc"},"content":{"rendered":"<p>\u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0627\u06cc\u0646 \u0633\u0648\u0627\u0644 \u0634\u0645\u0627 \u067e\u0627\u0633\u062e \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u062f \u06a9\u0647 \u0648\u0642\u062a\u06cc \u0645\u0627 \u0627\u0632 Pytorch \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u0686\u0647 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 Lightning \u062f\u0627\u0631\u06cc\u0645\u061f<\/p>\n\n\n<div class=\"wp-block-rank-math-toc-block\"><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter-rtl ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0622\u0646\u0686\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062e\u0648\u0627\u0646\u062f :<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #0044bf;color:#0044bf\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #0044bf;color:#0044bf\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D9%81%D9%87%D8%B1%D8%B3%D8%AA_%D9%85%D8%B7%D8%A7%D9%84%D8%A8\" >\u0641\u0647\u0631\u0633\u062a \u0645\u0637\u0627\u0644\u0628<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#Pytorch_lightning_%D8%A8%D8%B1%D8%A7%DB%8C_%DA%86%D9%87_%DA%A9%D8%B3%D8%A7%D9%86%DB%8C_%D8%B3%D8%A7%D8%AE%D8%AA%D9%87_%D8%B4%D8%AF%D9%87_%D8%A7%D8%B3%D8%AA%D8%9F\" >Pytorch lightning \u0628\u0631\u0627\u06cc \u0686\u0647 \u06a9\u0633\u0627\u0646\u06cc \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u061f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%B7%D8%B1%D8%AD_%DA%A9%D9%84%DB%8C_%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87\" >\u0637\u0631\u062d \u06a9\u0644\u06cc \u0628\u0631\u0646\u0627\u0645\u0647<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D9%BE%D8%B1%D9%88%DA%98%D9%87_%D8%AA%D8%AD%D9%82%DB%8C%D9%82%D8%A7%D8%AA%DB%8C_%D9%85%D8%AA%D8%AF%D8%A7%D9%88%D9%84_%D9%87%D9%88%D8%B4_%D9%85%D8%B5%D9%86%D9%88%D8%B9%DB%8C\" >\u067e\u0631\u0648\u0698\u0647 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u0645\u062a\u062f\u0627\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D9%85%D8%AF%D9%84\" >\u0645\u062f\u0644<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%AF%D8%A7%D8%AF%D9%87\" >\u062f\u0627\u062f\u0647<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%A2%D9%85%D8%A7%D8%AF%D9%87_%D8%B3%D8%A7%D8%B2%DB%8C_%D8%AF%D8%A7%D8%AF%D9%87\" >\u0622\u0645\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062f\u0627\u062f\u0647<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%AF%D8%A7%D8%AF%D9%87_%D9%87%D8%A7%DB%8C_%D8%A2%D9%85%D9%88%D8%B2%D8%B4_%D8%8C_%D8%AF%D8%A7%D8%AF%D9%87_%D9%87%D8%A7%DB%8C_%D8%A7%D8%B9%D8%AA%D8%A8%D8%A7%D8%B1%D8%B3%D9%86%D8%AC%DB%8C_%D9%88_%D8%AF%D8%A7%D8%AF%D9%87_%D9%87%D8%A7%DB%8C_%D8%A2%D8%B2%D9%85%D8%A7%DB%8C%D8%B4\" >\u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u060c \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%A8%D9%87%DB%8C%D9%86%D9%87_%D8%B3%D8%A7%D8%B2\" >\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%B6%D8%B1%D8%B1\" >\u0636\u0631\u0631<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%AD%D9%84%D9%82%D9%87_%D8%A2%D9%85%D9%88%D8%B2%D8%B4_%D9%88_%D8%A7%D8%B9%D8%AA%D8%A8%D8%A7%D8%B1%D8%B3%D9%86%D8%AC%DB%8C\" >\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%A2%D9%85%D9%88%D8%B2%D8%B4_%D8%AF%D9%87%D9%86%D8%AF%D9%87_Lightning\" >\u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 Lightning<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%AD%D9%84%D9%82%D9%87_%D8%A2%D9%85%D9%88%D8%B2%D8%B4%DB%8C_%DA%A9%D8%A7%D9%85%D9%84_%D8%A8%D8%B1%D8%A7%DB%8C_Pytorch\" >\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0631\u0627\u06cc Pytorch<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%AD%D9%84%D9%82%D9%87_%D8%A2%D9%85%D9%88%D8%B2%D8%B4%DB%8C_%DA%A9%D8%A7%D9%85%D9%84_%D8%A8%D8%B1%D8%A7%DB%8C_Lightning\" >\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0631\u0627\u06cc Lightning<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D9%86%DA%A9%D8%A7%D8%AA_%D9%85%D9%87%D9%85\" >\u0646\u06a9\u0627\u062a \u0645\u0647\u0645<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%B3%D8%A7%DB%8C%D8%B1_%D9%88%DB%8C%DA%98%DA%AF%DB%8C_%D9%87%D8%A7%E2%80%A6\" >\u0633\u0627\u06cc\u0631 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627&#8230;<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%AA%D9%88%D8%B3%D8%B9%D9%87_%D9%BE%D8%B0%DB%8C%D8%B1%DB%8C_%D8%A8%D8%A7_Hook_%D9%87%D8%A7\" >\u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0628\u0627 Hook \u0647\u0627<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%AA%D9%88%D8%B3%D8%B9%D9%87_%D9%BE%D8%B0%DB%8C%D8%B1%DB%8C_%D8%A8%D8%A7_%D9%81%D8%B1%D8%A7%D8%AE%D9%88%D8%A7%D9%86_%D9%87%D8%A7\" >\u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0628\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0647\u0627<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/shahaab-co.com\/mag\/programming-tools\/from-pytorch-to-pytorch-lightning\/#%D8%A7%D8%B2_%DA%A9%D8%AC%D8%A7_%D8%B4%D8%B1%D9%88%D8%B9_%DA%A9%D9%86%DB%8C%D9%85%D8%9F\" >\u0627\u0632 \u06a9\u062c\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u0645\u061f<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%D9%81%D9%87%D8%B1%D8%B3%D8%AA_%D9%85%D8%B7%D8%A7%D9%84%D8%A8\"><\/span>\u0641\u0647\u0631\u0633\u062a \u0645\u0637\u0627\u0644\u0628<span class=\"ez-toc-section-end\"><\/span><\/h2><nav><ul><li><a href=\"#h-pytorch-lightning-\u0628\u0631\u0627\u06cc-\u0686\u0647-\u06a9\u0633\u0627\u0646\u06cc-\u0633\u0627\u062e\u062a\u0647-\u0634\u062f\u0647-\u0627\u0633\u062a\" >Pytorch lightning \u0628\u0631\u0627\u06cc \u0686\u0647 \u06a9\u0633\u0627\u0646\u06cc \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u061f<\/a><\/li><li><a href=\"#h-\u0637\u0631\u062d-\u06a9\u0644\u06cc-\u0628\u0631\u0646\u0627\u0645\u0647\" >\u0637\u0631\u062d \u06a9\u0644\u06cc \u0628\u0631\u0646\u0627\u0645\u0647<\/a><\/li><li><a href=\"#h-\u067e\u0631\u0648\u0698\u0647-\u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc-\u0645\u062a\u062f\u0627\u0648\u0644-\u0647\u0648\u0634-\u0645\u0635\u0646\u0648\u0639\u06cc\" >\u067e\u0631\u0648\u0698\u0647 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u0645\u062a\u062f\u0627\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc<\/a><\/li><li><a href=\"#h-\u0645\u062f\u0644\" >\u0645\u062f\u0644<\/a><\/li><li><a href=\"#h-\u062f\u0627\u062f\u0647\" >\u062f\u0627\u062f\u0647<\/a><ul><li><a href=\"#h-\u0622\u0645\u0627\u062f\u0647-\u0633\u0627\u0632\u06cc-\u062f\u0627\u062f\u0647\" >\u0622\u0645\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062f\u0627\u062f\u0647<\/a><\/li><li><a href=\"#h-\u062f\u0627\u062f\u0647-\u0647\u0627\u06cc-\u0622\u0645\u0648\u0632\u0634-\u062f\u0627\u062f\u0647-\u0647\u0627\u06cc-\u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc-\u0648-\u062f\u0627\u062f\u0647-\u0647\u0627\u06cc-\u0622\u0632\u0645\u0627\u06cc\u0634\" >\u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u060c \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634<\/a><\/li><\/ul><\/li><li><a href=\"#h-\u0628\u0647\u06cc\u0646\u0647-\u0633\u0627\u0632\" >\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632<\/a><\/li><li><a href=\"#h-\u0636\u0631\u0631\" >\u0636\u0631\u0631<\/a><\/li><li><a href=\"#h-\u062d\u0644\u0642\u0647-\u0622\u0645\u0648\u0632\u0634-\u0648-\u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc\" >\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc<\/a><\/li><li><a href=\"#h-\u0622\u0645\u0648\u0632\u0634-\u062f\u0647\u0646\u062f\u0647-lightning\" >\u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 Lightning<\/a><\/li><li><a href=\"#h-\u062d\u0644\u0642\u0647-\u0622\u0645\u0648\u0632\u0634\u06cc-\u06a9\u0627\u0645\u0644-\u0628\u0631\u0627\u06cc-pytorch\" >\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0631\u0627\u06cc Pytorch<\/a><\/li><li><a href=\"#h-\u062d\u0644\u0642\u0647-\u0622\u0645\u0648\u0632\u0634\u06cc-\u06a9\u0627\u0645\u0644-\u0628\u0631\u0627\u06cc-lightning\" >\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0631\u0627\u06cc Lightning<\/a><\/li><li><a href=\"#h-\u0646\u06a9\u0627\u062a-\u0645\u0647\u0645\" >\u0646\u06a9\u0627\u062a \u0645\u0647\u0645<\/a><ul><li><a href=\"#h-\u0633\u0627\u06cc\u0631-\u0648\u06cc\u0698\u06af\u06cc-\u0647\u0627\" >\u0633\u0627\u06cc\u0631 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627&#8230;<\/a><\/li><\/ul><\/li><li><a href=\"#h-\u062a\u0648\u0633\u0639\u0647-\u067e\u0630\u06cc\u0631\u06cc-\u0628\u0627-hook-\u0647\u0627\" >\u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0628\u0627 Hook \u0647\u0627<\/a><\/li><li><a href=\"#h-\u062a\u0648\u0633\u0639\u0647-\u067e\u0630\u06cc\u0631\u06cc-\u0628\u0627-\u0641\u0631\u0627\u062e\u0648\u0627\u0646-\u0647\u0627\" >\u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0628\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0647\u0627<\/a><\/li><li><a href=\"#h-\u0627\u0632-\u06a9\u062c\u0627-\u0634\u0631\u0648\u0639-\u06a9\u0646\u06cc\u0645\" >\u0627\u0632 \u06a9\u062c\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u0645\u061f<\/a><\/li><\/nav><\/ul><\/div>\n\n\n<p style=\"text-align: justify;\">\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <a href=\"https:\/\/shahaab-co.com\/mag\/courses\/pytorch-for-beginners-course\/\">Pytorch<\/a> \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646 \u0645\u062f\u0644 \u0647\u0627\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f. \u0627\u0645\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0634\u0648\u062f \u0648 \u0645\u0648\u0627\u0631\u062f\u06cc \u0645\u0627\u0646\u0646\u062f \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0686\u0646\u062f\u0644\u0627\u06cc\u0647 \u060c \u062f\u0642\u062a \u06f1\u06f6 \u0628\u06cc\u062a\u06cc \u0648 \u0622\u0645\u0648\u0632\u0634 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 TPU \u0628\u0627 \u0647\u0645 \u062f\u0631\u0622\u0645\u06cc\u062e\u062a\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f\u060c \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0627\u062d\u062a\u0645\u0627\u0644\u0627 \u062f\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Python \u062f\u0686\u0627\u0631 \u0645\u0634\u06a9\u0644 \u062e\u0648\u0627\u0647\u0646\u062f \u0634\u062f.<\/p>\n<p style=\"text-align: justify;\"><a href=\"github.com\/PyTorchLightning\/pytorch-lightning\">Pytorch Lightning<\/a> \u060c \u062f\u0642\u06cc\u0642\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0627\u06cc\u0646 \u06af\u0648\u0646\u0647 \u0645\u0634\u06a9\u0644\u0627\u062a \u0631\u0627 \u062d\u0644 \u06a9\u0646\u062f. Lightning \u06a9\u062f \u0634\u0645\u0627 \u0631\u0627 \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u062f \u062c\u0632\u06cc\u06cc\u0627\u062a \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u0627\u0646\u062a\u0632\u0627\u0639\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u062a\u062d\u0642\u06cc\u0642\u0627\u062a \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0628\u0647 \u0645\u0646\u0638\u0648\u0631 \u062a\u06a9\u0631\u0627\u0631 \u0648 \u0622\u0632\u0645\u0627\u06cc\u0634\u060c \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0642\u06cc\u0627\u0633 \u067e\u0630\u06cc\u0631 \u0648 \u0633\u0631\u06cc\u0639 \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f.<\/p>\n<p><\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-pytorch-lightning-\u0628\u0631\u0627\u06cc-\u0686\u0647-\u06a9\u0633\u0627\u0646\u06cc-\u0633\u0627\u062e\u062a\u0647-\u0634\u062f\u0647-\u0627\u0633\u062a\"><span class=\"ez-toc-section\" id=\"Pytorch_lightning_%D8%A8%D8%B1%D8%A7%DB%8C_%DA%86%D9%87_%DA%A9%D8%B3%D8%A7%D9%86%DB%8C_%D8%B3%D8%A7%D8%AE%D8%AA%D9%87_%D8%B4%D8%AF%D9%87_%D8%A7%D8%B3%D8%AA%D8%9F\"><\/span><strong>Pytorch lightning \u0628\u0631\u0627\u06cc \u0686\u0647 \u06a9\u0633\u0627\u0646\u06cc \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u061f<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"531\" height=\"147\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-1.png\" alt=\"\" class=\"wp-image-13818\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-1.png 531w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-1-300x83.png 300w\" sizes=\"(max-width: 531px) 100vw, 531px\" \/><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">Lightning \u060c \u0628\u0631\u0627\u06cc \u0645\u062d\u0642\u0642\u0627\u0646 \u062d\u0631\u0641\u0647 \u0627\u06cc \u0648 \u062f\u0627\u0646\u0634\u062c\u0648\u06cc\u0627\u0646 \u062f\u06a9\u062a\u0631\u0627 \u06a9\u0647 \u0628\u0631 \u0631\u0648\u06cc \u062a\u062d\u0642\u06cc\u0642\u0627\u062a \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u0646\u062f \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p style=\"text-align: justify;\">\u0686\u0627\u0631\u0686\u0648\u0628 Pytorch Lightning \u0628\u0647 \u06af\u0648\u0646\u0647 \u0627\u06cc \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631\u0639\u06cc\u0646 \u0628\u06cc \u0627\u0647\u0645\u06cc\u062a \u062c\u0644\u0648\u0647 \u062f\u0627\u062f\u0646 \u062a\u06a9\u0646\u06cc\u06a9 \u0647\u0627\u06cc \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0628\u0647 \u06a9\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0634\u062f\u0647 \u062f\u0631 \u0645\u0648\u0631\u062f \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc (\u0645\u0627\u0646\u0646\u062f \u0622\u0645\u0648\u0632\u0634 TPU \u0647\u0627) \u060c \u0628\u0633\u06cc\u0627\u0631 \u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631 \u0646\u06cc\u0632 \u0628\u0627\u0634\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0627\u06a9\u0646\u0648\u0646 \u0647\u0645\u0647 \u0645\u0634\u0627\u0631\u06a9\u062a \u06a9\u0646\u0646\u062f\u06af\u0627\u0646 \u0627\u0635\u0644\u06cc \u062f\u0631 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Lightning \u062f\u0631 \u062d\u0627\u0644 \u067e\u06cc\u0634\u0631\u0641\u062a \u062f\u0631 \u062d\u0648\u0632\u0647 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0647\u0633\u062a\u0646\u062f \u0648 \u0628\u0647 \u0627\u0641\u0632\u0648\u062f\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u062c\u0627\u0644\u0628 \u062c\u062f\u06cc\u062f \u0627\u062f\u0627\u0645\u0647 \u0645\u06cc \u062f\u0647\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0633\u0627\u062f\u0647 \u0622\u0646 \u0628\u0647 \u062a\u06cc\u0645 \u0647\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f \u062d\u0631\u0641\u0647 \u0627\u06cc \u0648 \u062a\u0627\u0632\u0647 \u0648\u0627\u0631\u062f\u0627\u0646 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u06cc\u06a9 \u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u062a\u0648\u0633\u0639\u0647 \u06cc\u0627\u0641\u062a\u0647 \u062a\u0648\u0633\u0637 \u0627\u0646\u062c\u0645\u0646 Pytorch \u0648 Pytorch Lightning \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062a\u06cc\u0645 \u0645\u062d\u0642\u0642\u0627\u0646\u060c \u0645\u062a\u0634\u06a9\u0644 \u0627\u0632 <a href=\"github.com\/PyTorchLightnin\/pytorch-lightning\/graphs\/contributors\">\u06f3\u06f2\u06f0 \u0645\u0634\u0627\u0631\u06a9\u062a \u06a9\u0646\u0646\u062f\u0647<\/a>\u060c \u06cc\u06a9 <a href=\"pytorch-lightning.readthedocs.io\/en\/latest\/governance.html\">\u062a\u06cc\u0645 \u0627\u0635\u0644\u06cc \u06f1\u06f1 \u0646\u0641\u0631\u0647 \u062f\u0627\u0646\u0634\u0645\u0646\u062f\u0627\u0646<\/a>\u060c \u062f\u0627\u0646\u0634\u062c\u0648\u06cc\u0627\u0646 \u062f\u06a9\u062a\u0631\u0627 \u0648 \u0645\u0647\u0646\u062f\u0633\u0627\u0646 \u062d\u0631\u0641\u0647 \u0627\u06cc \u062f\u0631 \u0632\u0645\u06cc\u0646\u0647 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0639\u0645\u06cc\u0642 \u0627\u0633\u062a.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0637\u0631\u062d-\u06a9\u0644\u06cc-\u0628\u0631\u0646\u0627\u0645\u0647\"><span class=\"ez-toc-section\" id=\"%D8%B7%D8%B1%D8%AD_%DA%A9%D9%84%DB%8C_%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87\"><\/span><strong>\u0637\u0631\u062d \u06a9\u0644\u06cc \u0628\u0631\u0646\u0627\u0645\u0647<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0637\u0628\u0642\u0647 \u0628\u0646\u062f\u06cc \u06a9\u0646\u0646\u062f\u0647 \u0633\u0627\u062f\u0647 MNIST \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0645\u06cc \u06a9\u0646\u062f \u0648 \u06a9\u062f Pytorch \u0648 Pytorch Lightning \u0631\u0627 \u062f\u0631 \u06a9\u0646\u0627\u0631 \u0647\u0645 \u0646\u0634\u0627\u0646 \u062f\u0647\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646 \u0622\u0646 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0628\u0627 \u0647\u0645 \u0645\u0642\u0627\u06cc\u0633\u0647 \u06a9\u0631\u062f. \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 Lightning \u0647\u0645 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0647\u0631 \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f\u0645\u062e\u062a\u0627\u0631 \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0627\u06cc \u0631\u0627 \u0628\u0633\u0627\u0632\u062f\u060c \u0645\u0627 \u0627\u0632 <a href=\"https:\/\/paperswithcode.com\/dataset\/mnist\" target=\"_blank\" rel=\"noopener\">MNIST<\/a> \u0628\u0631\u0627\u06cc \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0646 \u0646\u062d\u0648\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u062f Pytorch \u0628\u0647 Pytorch Lightning \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<p><a href=\"https:\/\/colab.research.google.com\/drive\/1Mowb4NzWlRCxzAFjOIJqUmmk_wAT-XP3\" target=\"_blank\" rel=\"noopener\">\u06a9\u062f \u06a9\u0627\u0645\u0644 \u0627\u06cc\u0646 \u062f\u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u062f\u0631 \u0627\u06cc\u0646 notebook colab \u0645\u0648\u062c\u0648\u062f \u0627\u0633\u062a.<\/a><\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u067e\u0631\u0648\u0698\u0647-\u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc-\u0645\u062a\u062f\u0627\u0648\u0644-\u0647\u0648\u0634-\u0645\u0635\u0646\u0648\u0639\u06cc\"><span class=\"ez-toc-section\" id=\"%D9%BE%D8%B1%D9%88%DA%98%D9%87_%D8%AA%D8%AD%D9%82%DB%8C%D9%82%D8%A7%D8%AA%DB%8C_%D9%85%D8%AA%D8%AF%D8%A7%D9%88%D9%84_%D9%87%D9%88%D8%B4_%D9%85%D8%B5%D9%86%D9%88%D8%B9%DB%8C\"><\/span><strong>\u067e\u0631\u0648\u0698\u0647 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u0645\u062a\u062f\u0627\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0645\u0627 \u062f\u0631 \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc\u060c \u0628\u0647 \u0637\u0648\u0631 \u0645\u0639\u0645\u0648\u0644 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u0627\u062c\u0632\u0627\u06cc \u06a9\u0644\u06cc\u062f\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u06a9\u0646\u06cc\u0645:<\/p>\n<ul>\n<li>\u0645\u062f\u0644<\/li>\n<li>\u062f\u0627\u062f\u0647<\/li>\n<li>\u0636\u0631\u0631<\/li>\n<li>\u0628\u0647\u06cc\u0646\u0647 \u06a9\u0646\u0646\u062f\u0647 \u0647\u0627<\/li>\n<\/ul>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0645\u062f\u0644\"><span class=\"ez-toc-section\" id=\"%D9%85%D8%AF%D9%84\"><\/span><strong>\u0645\u062f\u0644<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06cc\u06a9 <a href=\"https:\/\/shahaab-co.com\/mag\/edu\/neural-networks-a-30000-feet-view-for-beginners\/\">\u0634\u0628\u06a9\u0647 \u0639\u0635\u0628\u06cc<\/a> \u06a9\u0627\u0645\u0644\u0627 \u0645\u062a\u0635\u0644 \u06f3 \u0644\u0627\u06cc\u0647 \u0631\u0627 \u0637\u0631\u0627\u062d\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u06f2\u06f8*\u06f2\u06f8 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0631\u0648\u0631\u062f\u06cc \u0645\u06cc \u06af\u06cc\u0631\u062f \u0648 \u06cc\u06a9 \u062a\u0648\u0632\u06cc\u0639 \u0627\u062d\u062a\u0645\u0627\u0644\u06cc \u0628\u0631 \u0631\u0648\u06cc \u06f1\u06f0 \u0628\u0631\u0686\u0633\u0628 \u0645\u0645\u06a9\u0646 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062e\u0631\u0648\u062c\u06cc \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<p>\u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u0686\u06cc\u0632 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u0645\u062f\u0644&nbsp; \u0631\u0627 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 PyTorch \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u0645:<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.1.png\"><img decoding=\"async\" width=\"520\" height=\"654\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.1.png\" alt=\"\" class=\"wp-image-13819\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.1.png 520w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.1-239x300.png 239w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/a><\/figure><\/div>\n\n\n<p>\u0627\u06cc\u0646 \u0645\u062f\u0644\u060c \u06cc\u06a9 \u0646\u0645\u0648\u062f\u0627\u0631 \u0645\u062d\u0627\u0633\u0628\u0627\u062a\u06cc \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 MNIST \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0631\u0648\u062f\u06cc \u0628\u06af\u06cc\u0631\u062f \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u062a\u0648\u0632\u06cc\u0639 \u0627\u062d\u062a\u0645\u0627\u0644\u06cc \u062f\u0631 \u06f1\u06f0 \u0631\u062f\u06cc\u0641 \u0628\u0631\u0627\u06cc \u0627\u0631\u0642\u0627\u0645 \u06f0-\u06f9 \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0646\u062f.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"575\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/shape.1.png\" alt=\"\" class=\"wp-image-13820\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/shape.1.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/shape.1-300x197.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/shape.1-768x505.png 768w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/shape.1-310x205.png 310w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u062a\u0628\u062f\u06cc\u0644 \u0627\u06cc\u0646 \u0645\u062f\u0644 \u0628\u0647 Pytorch Lightning \u060c \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc <em class=\"mk\">nn.Module<\/em> \u0631\u0627 \u0628\u0627 <em class=\"mk\">pl.LightningModule<\/em> \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-2.png\"><img decoding=\"async\" width=\"497\" height=\"66\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-2.png\" alt=\"\" class=\"wp-image-13821\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-2.png 497w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-2-300x40.png 300w\" sizes=\"(max-width: 497px) 100vw, 497px\" \/><\/a><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u062f\u0633\u062a\u0647 Pytorch \u062c\u062f\u06cc\u062f\u060c \u062f\u0642\u06cc\u0642\u0627 \u0647\u0645\u0627\u0646 Pytorch \u0627\u0633\u062a\u061b \u0628\u0647 \u062c\u0632 \u0627\u06cc\u0646 \u06a9\u0647 \u0645\u0627\u0698\u0648\u0644 Lightning \u060c \u0633\u0627\u062e\u062a\u0627\u0631\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u062f \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u0622\u0648\u0631\u062f.<\/p>\n<p style=\"text-align: justify;\">Lightning \u060c \u0633\u0627\u062e\u062a\u0627\u0631\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u062f Pytorch \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u0622\u0648\u0631\u062f.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-3.png\"><img decoding=\"async\" width=\"875\" height=\"559\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-3.png\" alt=\"\" class=\"wp-image-13822\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-3.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-3-300x192.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code-3-768x491.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/a><\/figure>\n\n\n<p>\u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0631\u062f\u06cc\u062f\u061f \u0627\u06cc\u0646 \u06a9\u062f \u062f\u0642\u06cc\u0642\u0627 \u0628\u0631\u0627\u06cc \u0647\u0631 \u062f\u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u06cc\u06a9\u06cc \u0627\u0633\u062a!<\/p>\n<p>\u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u0627\u0633\u062a \u06a9\u0647 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 Lightning \u060c \u062f\u0642\u06cc\u0642\u0627 \u0645\u0634\u0627\u0628\u0647 \u0645\u0627\u0698\u0648\u0644 Pytorch \u0628\u0631\u0627\u06cc \u067e\u06cc\u0634 \u0628\u06cc\u0646\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-model.png\"><img decoding=\"async\" width=\"644\" height=\"237\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-model.png\" alt=\"\" class=\"wp-image-13823\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-model.png 644w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-model-300x110.png 300w\" sizes=\"(max-width: 644px) 100vw, 644px\" \/><\/a><\/figure><\/div>\n\n\n<p>\u0648 \u06cc\u0627 \u0627\u0632 \u0622\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0645\u062f\u0644 \u0627\u0632 \u067e\u06cc\u0634 \u0622\u0645\u0648\u0632\u0634 \u062f\u06cc\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u062a\u0641\u0627\u0648\u062a-Pytorch-\u0648-Pytorch-Lightning.jpeg\"><img decoding=\"async\" width=\"700\" height=\"99\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u062a\u0641\u0627\u0648\u062a-Pytorch-\u0648-Pytorch-Lightning.jpeg\" alt=\"\u062a\u0641\u0627\u0648\u062a Pytorch \u0648 Pytorch Lightning\" class=\"wp-image-13875\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u062a\u0641\u0627\u0648\u062a-Pytorch-\u0648-Pytorch-Lightning.jpeg 700w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u062a\u0641\u0627\u0648\u062a-Pytorch-\u0648-Pytorch-Lightning-300x42.jpeg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u062f\u0627\u062f\u0647\"><span class=\"ez-toc-section\" id=\"%D8%AF%D8%A7%D8%AF%D9%87\"><\/span><strong>\u062f\u0627\u062f\u0647<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u0647\u0645 \u0645\u0627 \u0627\u0632 MNIST \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"594\" height=\"361\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-2.png\" alt=\"\" class=\"wp-image-13824\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-2.png 594w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-2-300x182.png 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/figure><\/div>\n\n\n<p>MNIST \u0633\u0647 \u0628\u062e\u0634 \u062f\u0627\u0631\u062f\u061b \u0628\u062e\u0634 \u0622\u0645\u0648\u0632\u0634\u060c \u0622\u0632\u0645\u0627\u06cc\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc<\/p>\n<p>\u0627\u06cc\u0646 \u0628\u062e\u0634 \u0646\u06cc\u0632 \u062f\u0631 Lightning \u0645\u0634\u0627\u0628\u0647 Pytorch \u0627\u0633\u062a.<\/p>\n<p>\u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u0628\u0647 \u0628\u062e\u0634 \u0628\u0627\u0631\u06af\u0630\u0627\u0631 \u062f\u0627\u062f\u0647 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u0634\u0648\u062f \u06a9\u0647 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc\u060c \u062a\u0631\u06a9\u06cc\u0628 \u0648 \u062f\u0633\u062a\u0647 \u0628\u0646\u062f\u06cc \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0645\u0631\u0627\u062d\u0644 \u0622\u0645\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062f\u0627\u062f\u0647 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0644\u0627\u0635\u0647 \u0686\u0647\u0627\u0631 \u0645\u0631\u062d\u0644\u0647 \u062f\u0627\u0631\u062f:<\/p>\n<p><strong>\u06f1-<\/strong> \u062f\u0627\u0646\u0644\u0648\u062f \u062a\u0635\u0627\u0648\u06cc\u0631<\/p>\n<p><strong>\u06f2-<\/strong> \u062a\u063a\u06cc\u06cc\u0631 \u0634\u06a9\u0644 \u062a\u0635\u0627\u0648\u06cc\u0631<\/p>\n<p><strong>\u06f3-<\/strong> \u0627\u06cc\u062c\u0627\u062f \u0633\u0647 \u0628\u062e\u0634 \u0622\u0645\u0648\u0632\u0634\u060c \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0648 \u0622\u0632\u0645\u0627\u06cc\u0634<\/p>\n<p><strong>\u06f4- <\/strong>\u0647\u0631 \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u062f\u0631 \u06cc\u06a9 dataloader \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/mnist.png\"><img decoding=\"async\" width=\"875\" height=\"460\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/mnist.png\" alt=\"\" class=\"wp-image-13825\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/mnist.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/mnist-300x158.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/mnist-768x404.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/a><\/figure>\n\n\n<p>\u062f\u0648\u0628\u0627\u0631\u0647 \u06a9\u062f \u062f\u0642\u06cc\u0642\u0627 \u06cc\u06a9\u0633\u0627\u0646 \u0627\u0633\u062a\u061b \u0628\u0627 \u0627\u06cc\u0646 \u062a\u0641\u0627\u0648\u062a \u06a9\u0647 \u0645\u0627 \u06a9\u062f Pytorch \u0631\u0627 \u062f\u0631 \u06f4 \u062a\u0627\u0628\u0639 \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 :<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u0622\u0645\u0627\u062f\u0647-\u0633\u0627\u0632\u06cc-\u062f\u0627\u062f\u0647\"><span class=\"ez-toc-section\" id=\"%D8%A2%D9%85%D8%A7%D8%AF%D9%87_%D8%B3%D8%A7%D8%B2%DB%8C_%D8%AF%D8%A7%D8%AF%D9%87\"><\/span><strong>\u0622\u0645\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062f\u0627\u062f\u0647<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u062a\u0645\u0627\u0645 \u062f\u0627\u0646\u0644\u0648\u062f \u0647\u0627 \u0648 \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0627\u06cc\u062f \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0631\u062f \u06a9\u0647 \u0648\u0642\u062a\u06cc \u0634\u0645\u0627 \u0627\u0632 \u0686\u0646\u062f\u06cc\u0646 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc \u0631\u0627 \u0686\u0646\u062f \u0645\u0631\u062a\u0628\u0647 \u062f\u0627\u0646\u0644\u0648\u062f \u0646\u0645\u06cc \u06a9\u0646\u06cc\u062f \u0648 \u06cc\u0627 \u062f\u0631 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u06a9\u0627\u0631\u06cc \u0635\u0648\u0631\u062a \u0646\u0645\u06cc \u06af\u06cc\u0631\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062f\u0644\u06cc\u0644 \u0627\u06cc\u0646 \u0627\u062a\u0641\u0627\u0642 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u060c \u06cc\u06a9 \u0628\u0627\u0631 \u06a9\u062f Pytorch \u0631\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0628\u0627\u0639\u062b \u062a\u06a9\u0631\u0627\u0631 \u0645\u06cc \u0634\u0648\u062f. \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062a\u0645\u0627\u0645 \u06a9\u062f \u0647\u0627 \u062f\u0631 Lightning \u0627\u06cc\u0646 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0631\u0627 \u062d\u0627\u0635\u0644 \u0645\u06cc \u0634\u0648\u062f \u06a9\u0647 \u0628\u062e\u0634 \u0647\u0627\u06cc \u0645\u0647\u0645 \u0641\u0642\u0637 \u0627\u0632 \u0631\u0648\u06cc \u06cc\u06a9 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0628\u0627\u0632\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u062f\u0627\u062f\u0647-\u0647\u0627\u06cc-\u0622\u0645\u0648\u0632\u0634-\u062f\u0627\u062f\u0647-\u0647\u0627\u06cc-\u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc-\u0648-\u062f\u0627\u062f\u0647-\u0647\u0627\u06cc-\u0622\u0632\u0645\u0627\u06cc\u0634\"><span class=\"ez-toc-section\" id=\"%D8%AF%D8%A7%D8%AF%D9%87_%D9%87%D8%A7%DB%8C_%D8%A2%D9%85%D9%88%D8%B2%D8%B4_%D8%8C_%D8%AF%D8%A7%D8%AF%D9%87_%D9%87%D8%A7%DB%8C_%D8%A7%D8%B9%D8%AA%D8%A8%D8%A7%D8%B1%D8%B3%D9%86%D8%AC%DB%8C_%D9%88_%D8%AF%D8%A7%D8%AF%D9%87_%D9%87%D8%A7%DB%8C_%D8%A2%D8%B2%D9%85%D8%A7%DB%8C%D8%B4\"><\/span><strong>\u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u060c \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p style=\"text-align: justify;\">\u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0647\u0627 \u0645\u0633\u0626\u0648\u0644 \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u06cc \u0628\u062e\u0634\u06cc \u0627\u0632 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u062a\u0642\u0633\u06cc\u0645 \u0634\u062f\u0647 \u0647\u0633\u062a\u0646\u062f. Lightning \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0634\u06a9\u0644 \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u0646\u062d\u0648\u0647 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627 \u0628\u0633\u06cc\u0627\u0631 \u0648\u0627\u0636\u062d \u0628\u0627\u0634\u062f. \u0627\u06af\u0631 \u062a\u0627 \u0628\u0647 \u062d\u0627\u0644 \u06a9\u062f \u067e\u0627\u06cc\u062a\u0648\u0646\u06cc \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062a\u0635\u0627\u062f\u0641\u06cc \u062f\u0631 <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.github.android&amp;hl=en_US&amp;gl=US\" target=\"_blank\" rel=\"noopener\">github<\/a> \u062f\u06cc\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u062a\u0642\u0631\u06cc\u0628\u0627 \u063a\u06cc\u0631\u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0641\u0647\u0645\u06cc\u062f \u0622\u0646 \u0647\u0627 \u0686\u06af\u0648\u0646\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0645\u06cc \u06a9\u0646\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">Lightning \u062d\u062a\u06cc \u0627\u0645\u06a9\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0686\u0646\u062f \u0628\u0627\u0631\u06af\u0630\u0627\u0631 \u062f\u0627\u062f\u0647 \u0622\u0632\u0645\u0627\u06cc\u0634 \u06cc\u0627 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0631\u0627 \u0646\u06cc\u0632 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u06a9\u062f\u060c \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 \u0628\u062e\u0634\u06cc \u0628\u0647 \u0646\u0627\u0645 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u062f\u0647 \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0645\u06cc \u0634\u0648\u062f. \u0627\u06af\u0631 \u0686\u0647 \u0627\u06cc\u0646 \u0627\u0645\u0631 \u06f1\u06f0\u06f0 \u062f\u0631\u0635\u062f \u0627\u062e\u062a\u06cc\u0627\u0631\u06cc \u0627\u0633\u062a \u0648 Lightning \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0637\u0648\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645 \u0627\u0632 \u0628\u0627\u0631\u06af\u0630\u0627\u0631 \u062f\u0627\u062f\u0647 (DataLoader) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f\u060c \u0627\u0645\u0627 <a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/stable\/datamodules.html\" target=\"_blank\" rel=\"noopener\">\u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u062f\u0647 (DataMadule)<\/a> \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0648\u0628\u0627\u0631\u0647 \u06a9\u0631\u062f\u0647 \u0648 \u0627\u0634\u062a\u0631\u0627\u06a9 \u06af\u0630\u0627\u0631\u06cc \u0622\u0646 \u0647\u0627 \u0631\u0627 \u0622\u0633\u0627\u0646 \u06a9\u0646\u062f.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0628\u0647\u06cc\u0646\u0647-\u0633\u0627\u0632\"><span class=\"ez-toc-section\" id=\"%D8%A8%D9%87%DB%8C%D9%86%D9%87_%D8%B3%D8%A7%D8%B2\"><\/span><strong>\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u062d\u0627\u0644\u0627 \u0632\u0645\u0627\u0646 \u0622\u0646 \u0641\u0631\u0627\u0631\u0633\u06cc\u062f\u0647 \u062a\u0627 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645. \u0645\u0627 \u0628\u0647 \u062c\u0627\u06cc <a href=\"https:\/\/scikit-learn.org\/stable\/modules\/sgd.html\" target=\"_blank\" rel=\"noopener\">SGD<\/a> \u0627\u0632 <a href=\"https:\/\/keras.io\/api\/optimizers\/adam\/\" target=\"_blank\" rel=\"noopener\">Adam<\/a> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u061b \u0632\u06cc\u0631\u0627 \u06cc\u06a9 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062e\u0648\u0628 \u062f\u0631 \u0628\u06cc\u0634\u062a\u0631 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0639\u0645\u06cc\u0642 \u0627\u0633\u062a.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-optimizer.jpg\"><img decoding=\"async\" width=\"875\" height=\"149\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-optimizer.jpg\" alt=\"\" class=\"wp-image-13826\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-optimizer.jpg 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-optimizer-300x51.jpg 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-optimizer-768x131.jpg 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/a><\/figure>\n\n\n<p>\u0645\u062c\u062f\u062f\u0627 \u06a9\u062f \u062f\u0631 \u0647\u0631 \u062f\u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u062f\u0642\u06cc\u0642\u0627 \u06cc\u06a9\u0633\u0627\u0646 \u0627\u0633\u062a\u061b \u0628\u0647 \u062c\u0632 \u0627\u06cc\u0646 \u06a9\u0647 \u062f\u0631 \u0639\u0645\u0644\u06a9\u0631\u062f \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632 \u0647\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc\u060c \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p>Lightning \u060c \u0642\u0627\u0628\u0644\u06cc\u062a \u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0628\u0627\u0644\u0627\u06cc\u06cc \u062f\u0627\u0631\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06af\u0631 \u0634\u0645\u0627 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u0686\u0646\u062f \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632 ( \u0645\u062b\u0644 <a href=\"https:\/\/shahaab-co.com\/mag\/edu\/understanding-generative-adversarial-networks-gan\/\" target=\"_blank\" rel=\"noopener\">GAN \u0647\u0627<\/a> ) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0647\u0631 \u062f\u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0628\u0647 \u0622\u0646 \u062c\u0627 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.png\"><img decoding=\"async\" width=\"844\" height=\"174\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.png\" alt=\"\" class=\"wp-image-13827\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.png 844w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning-300x62.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning-768x158.png 768w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/a><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u062a\u0648\u062c\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u0634\u062f \u06a9\u0647 \u062f\u0631 Lightning \u060c \u0645\u0627 <strong class=\"if gn\"><em class=\"mk\">self.parameters()<\/em><\/strong> \u0631\u0627 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0646\u0647 \u06cc\u06a9 \u0645\u062f\u0644\u061b \u0632\u06cc\u0631\u0627 LightningModule \u062e\u0648\u062f \u0645\u062f\u0644 \u0627\u0633\u062a.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0636\u0631\u0631\"><span class=\"ez-toc-section\" id=\"%D8%B6%D8%B1%D8%B1\"><\/span><strong>\u0636\u0631\u0631<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0637\u0628\u0642\u0647 \u0628\u0646\u062f\u06cc n \u0645\u0633\u06cc\u0631\u06cc \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u062e\u0637\u0627\u06cc \u0622\u0646\u062a\u0631\u0648\u067e\u06cc \u0645\u062a\u0642\u0627\u0637\u0639 \u0631\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u06a9\u0646\u06cc\u0645. \u0622\u0646\u062a\u0631\u0648\u067e\u06cc \u0645\u062a\u0642\u0627\u0637\u0639 \u060c \u0647\u0645\u0627\u0646 NegativeLogLikelihood(log_softmax) \u0627\u0633\u062a \u06a9\u0647 \u0645\u0627 \u0628\u0647 \u062c\u0627\u06cc \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning.3.jpg\"><img decoding=\"async\" width=\"875\" height=\"226\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning.3.jpg\" alt=\"\" class=\"wp-image-13828\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning.3.jpg 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning.3-300x77.jpg 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning.3-768x198.jpg 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/a><\/figure><\/div>\n\n\n<p>\u0645\u062c\u062f\u062f\u0627\u060c \u062f\u0648\u0628\u0627\u0631\u0647 \u0647\u0645\u0627\u0646 \u06a9\u062f \u0627\u0633\u062a!<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u062d\u0644\u0642\u0647-\u0622\u0645\u0648\u0632\u0634-\u0648-\u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc\"><span class=\"ez-toc-section\" id=\"%D8%AD%D9%84%D9%82%D9%87_%D8%A2%D9%85%D9%88%D8%B2%D8%B4_%D9%88_%D8%A7%D8%B9%D8%AA%D8%A8%D8%A7%D8%B1%D8%B3%D9%86%D8%AC%DB%8C\"><\/span><strong>\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0645\u0627 \u062a\u0645\u0627\u0645 \u0639\u0646\u0627\u0635\u0631 \u06a9\u0644\u06cc\u062f\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u06af\u0631\u062f\u0622\u0648\u0631\u06cc \u06a9\u0631\u062f\u06cc\u0645. \u0627\u06cc\u0646 \u0639\u0646\u0627\u0635\u0631\u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632:<\/p>\n<p><strong>\u06f1-<\/strong> \u0645\u062f\u0644 (\u0634\u0628\u06a9\u0647 \u0633\u0647 \u0644\u0627\u06cc\u0647 \u0639\u0635\u0628\u06cc)<\/p>\n<p><strong>\u06f2-<\/strong> \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 ( MNIST )<\/p>\n<p><strong>\u06f3-<\/strong> \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632<\/p>\n<p><strong>\u06f4-<\/strong> \u062e\u0637\u0627<\/p>\n<p>\u062d\u0627\u0644 \u0645\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u062a\u0631\u06a9\u06cc\u0628\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u0627\u0645\u0644 \u0631\u0627 \u06a9\u0647 \u0634\u0627\u0645\u0644 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0627\u0633\u062a \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u0645:<\/p>\n<ul>\n<li>\u0686\u0646\u062f\u06cc\u0646 \u062f\u0648\u0631\u0647 \u062a\u06a9\u0631\u0627\u0631 \u0645\u06cc \u0634\u0648\u062f ( \u0645\u0646\u0638\u0648\u0631 \u0627\u0632 \u06cc\u06a9 \u062f\u0648\u0631\u0647\u060c \u06af\u0630\u0631 \u06a9\u0627\u0645\u0644 \u0627\u0632 \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 D \u0627\u0633\u062a)<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"303\" height=\"40\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/training-loop-and-validiation.png\" alt=\"\" class=\"wp-image-13829\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/training-loop-and-validiation.png 303w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/training-loop-and-validiation-300x40.png 300w\" sizes=\"(max-width: 303px) 100vw, 303px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"348\" height=\"59\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/training-loop-and-validiation-2.png\" alt=\"\" class=\"wp-image-13830\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/training-loop-and-validiation-2.png 348w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/training-loop-and-validiation-2-300x51.png 300w\" sizes=\"(max-width: 348px) 100vw, 348px\" \/><\/figure><\/div>\n\n\n<ul>\n<li>\u0647\u0631 \u062f\u0648\u0631\u0647\u060c \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627 \u062f\u0631 \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u06a9\u0648\u0686\u06a9 \u0628\u0647 \u0646\u0627\u0645 \u062f\u0633\u062a\u0647 b \u062a\u06a9\u0631\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"98\" height=\"43\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/validiation-loop.png\" alt=\"\" class=\"wp-image-13831\" title=\"\"><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"280\" height=\"33\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/validiation-loop.3.png\" alt=\"\" class=\"wp-image-13832\" title=\"\"><\/figure><\/div>\n\n\n<ul>\n<li>\u06cc\u06a9 \u06af\u0630\u0631 \u0628\u0647 \u062c\u0644\u0648 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u06cc\u0645.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"106\" height=\"41\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/forward-pass.png\" alt=\"\" class=\"wp-image-13833\" title=\"\"><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"197\" height=\"40\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/calculation.png\" alt=\"\" class=\"wp-image-13834\" title=\"\"><\/figure><\/div>\n\n\n<ul>\n<li>\u0636\u0631\u0631 \u0631\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"235\" height=\"85\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/loss-data.png\" alt=\"\" class=\"wp-image-13835\" title=\"\"><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"405\" height=\"39\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/loss-data-2.png\" alt=\"\" class=\"wp-image-13836\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/loss-data-2.png 405w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/loss-data-2-300x29.png 300w\" sizes=\"(max-width: 405px) 100vw, 405px\" \/><\/figure><\/div>\n\n\n<ul>\n<li>\u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0633\u0628\u0647 \u062a\u0645\u0627\u0645 \u06af\u0631\u0627\u062f\u06cc\u0627\u0646 \u0647\u0627\u06cc \u0647\u0631 \u0648\u0632\u0646 \u060c \u06af\u0630\u0631 \u0628\u0647 \u0639\u0642\u0628 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u06cc\u0645.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"257\" height=\"68\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/backward-pass.png\" alt=\"\" class=\"wp-image-13837\" title=\"\"><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"177\" height=\"31\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.2.png\" alt=\"\" class=\"wp-image-13838\" title=\"\"><\/figure><\/div>\n\n\n<ul>\n<li>\u06af\u0631\u0627\u062f\u06cc\u0627\u0646 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0648\u0632\u0646 \u0647\u0627 \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"191\" height=\"36\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/gradian.png\" alt=\"\" class=\"wp-image-13839\" title=\"\"><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"187\" height=\"35\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/gradian.2.png\" alt=\"\" class=\"wp-image-13840\" title=\"\"><\/figure><\/div>\n\n\n<ul>\n<li>\u062f\u0631 \u0647\u0631 \u062f\u0648 \u0628\u0631\u0646\u0627\u0645\u0647 Pytorch \u0648 Lightning \u060c \u0634\u0628\u0647 \u06a9\u062f\u06cc \u0645\u0627\u0646\u0646\u062f \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0628\u0647 \u0646\u0638\u0631 \u0645\u06cc \u0631\u0633\u062f.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.4.png\"><img decoding=\"async\" width=\"567\" height=\"335\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.4.png\" alt=\"\" class=\"wp-image-13841\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.4.png 567w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/code.4-300x177.png 300w\" sizes=\"(max-width: 567px) 100vw, 567px\" \/><\/a><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u062c\u0627 \u0647\u0645\u0627\u0646 \u062c\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 Lightning \u060c \u06a9\u062f \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u062f\u0627\u0631\u062f. \u062f\u0631 Pytorch \u060c \u0634\u0645\u0627 \u062d\u0644\u0642\u0647 for \u0631\u0627 \u062e\u0648\u062f\u062a\u0627\u0646 \u0645\u06cc \u0646\u0648\u06cc\u0633\u06cc\u062f \u0648 \u0627\u06cc\u0646 \u0628\u062f\u06cc\u0646 \u0645\u0639\u0646\u0627\u0633\u062a \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u06cc\u0627\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u062a\u0627 \u0645\u0648\u0627\u0631\u062f \u0635\u062d\u06cc\u062d \u0631\u0627 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u062f\u0631\u0633\u062a \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u0627\u062d\u062a\u0645\u0627\u0644 \u0628\u0631\u0648\u0632 \u0628\u0627\u06af \u0647\u0627 \u0632\u06cc\u0627\u062f \u0634\u0648\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062d\u062a\u06cc \u0627\u06af\u0631 \u0645\u062f\u0644 \u0634\u0645\u0627 \u0633\u0627\u062f\u0647 \u0628\u0627\u0634\u062f\u060c \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0634\u0631\u0648\u0639 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u06a9\u0627\u0631\u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u062a\u0631\u06cc \u0645\u0627\u0646\u0646\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0686\u0646\u062f \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u060c \u0628\u0631\u0634 \u06af\u0631\u0627\u062f\u06cc\u0627\u0646 \u060c \u062a\u0648\u0642\u0641 \u0632\u0648\u062f\u0647\u0646\u06af\u0627\u0645 \u060c \u0628\u0631\u0631\u0633\u06cc \u060c \u0622\u0645\u0648\u0632\u0634 TPU \u060c \u062f\u0642\u062a \u06f1\u06f6 \u0628\u06cc\u062a\u06cc \u0648&#8230; \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u067e\u06cc\u0686\u06cc\u062f\u06af\u06cc \u06a9\u062f \u0634\u0645\u0627 \u0628\u0647 \u0633\u0631\u0639\u062a \u0628\u06cc\u0634\u062a\u0631 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062d\u062a\u06cc \u0627\u06af\u0631 \u0645\u062f\u0644 \u0634\u0645\u0627 \u0647\u0645 \u0633\u0627\u062f\u0647 \u0628\u0627\u0634\u062f\u060c \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0634\u0631\u0648\u0639 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u06a9\u0627\u0631\u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u062a\u0631 \u06a9\u0646\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a\u060c \u0634\u0645\u0627 \u062d\u0644\u0642\u0647 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0648 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u0628\u0631\u0627\u06cc \u062f\u0648 \u0628\u0631\u0646\u0627\u0645\u0647 Pytorch \u0648 Lightning \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"875\" height=\"499\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-4.png\" alt=\"\" class=\"wp-image-13842\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-4.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-4-300x171.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/pytorch-lightning-4-768x438.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure><\/div>\n\n\n<p>\u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u0645\u0632\u06cc\u062a \u06a9\u0627\u0631 \u0628\u0627 Lightning \u0631\u0627 \u0628\u0647 \u0634\u0645\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f. \u0628\u062e\u0634\u06cc \u0627\u0632 \u06a9\u062f \u0631\u0627 (\u062e\u0627\u0631\u062c \u0627\u0632 \u06a9\u0627\u062f\u0631 \u0647\u0627) \u0628\u0647 \u062d\u0627\u0644\u062a \u0627\u0646\u062a\u0632\u0627\u0639\u06cc \u062f\u0631 \u0645\u06cc \u0622\u0648\u0631\u062f. \u0627\u0645\u0627 \u0628\u0642\u06cc\u0647 \u0686\u06cc\u0632 \u0647\u0627 \u0631\u0627 \u0628\u062f\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u0627\u0642\u06cc \u0645\u06cc \u06af\u0630\u0627\u0631\u062f.\u0627\u06cc\u0646 \u0628\u062f\u06cc\u0646 \u0645\u0639\u0646\u0627\u0633\u062a \u06a9\u0647 \u0634\u0645\u0627 \u0647\u0646\u0648\u0632 \u062f\u0631\u062d\u0627\u0644 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u062f\u0631 Pytorch \u0647\u0633\u062a\u06cc\u062f \u0628\u0627 \u0627\u06cc\u0646 \u062a\u0641\u0627\u0648\u062a \u06a9\u0647 \u06a9\u062f \u0628\u0631\u0646\u0627\u0645\u0647 \u0634\u0645\u0627 \u0628\u0647 \u062e\u0648\u0628\u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u0639\u062b \u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0628\u0647\u062a\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0645\u06cc \u0634\u0648\u062f \u06a9\u0647 \u0628\u0647 \u062a\u06a9\u0631\u0627\u0631\u067e\u0630\u06cc\u0631\u06cc \u0646\u06cc\u0632 \u0628\u0633\u06cc\u0627\u0631 \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f!<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0622\u0645\u0648\u0632\u0634-\u062f\u0647\u0646\u062f\u0647-lightning\"><span class=\"ez-toc-section\" id=\"%D8%A2%D9%85%D9%88%D8%B2%D8%B4_%D8%AF%D9%87%D9%86%D8%AF%D9%87_Lightning\"><\/span><strong>\u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 Lightning<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 \u0628\u0647 \u0645\u0627 \u062f\u0631 \u0646\u062d\u0648\u0647 \u0627\u0646\u062a\u0632\u0627\u0639\u06cc \u06a9\u0631\u062f\u0646 \u06a9\u062f \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0635\u0641\u062d\u0647 \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0622\u0645\u0648\u0632\u0634-\u062f\u0647\u0646\u062f\u0647-Lightning.jpg\"><img decoding=\"async\" width=\"875\" height=\"544\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0622\u0645\u0648\u0632\u0634-\u062f\u0647\u0646\u062f\u0647-Lightning.jpg\" alt=\"\" class=\"wp-image-13843\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0622\u0645\u0648\u0632\u0634-\u062f\u0647\u0646\u062f\u0647-Lightning.jpg 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0622\u0645\u0648\u0632\u0634-\u062f\u0647\u0646\u062f\u0647-Lightning-300x187.jpg 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0622\u0645\u0648\u0632\u0634-\u062f\u0647\u0646\u062f\u0647-Lightning-768x477.jpg 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/a><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u062a\u0645\u0627\u0645 \u0627\u06cc\u0646 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0647\u0627 \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0648\u0627\u0633\u062a\u0647 \u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u06a9\u062f \u0647\u0627\u06cc Pytorch \u062f\u0631 \u0645\u0627\u0698\u0648\u0644 Lightning \u0627\u062a\u0641\u0627\u0642 \u0627\u0641\u062a\u0627\u062f\u0647 \u0627\u0633\u062a.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u062d\u0644\u0642\u0647-\u0622\u0645\u0648\u0632\u0634\u06cc-\u06a9\u0627\u0645\u0644-\u0628\u0631\u0627\u06cc-pytorch\"><span class=\"ez-toc-section\" id=\"%D8%AD%D9%84%D9%82%D9%87_%D8%A2%D9%85%D9%88%D8%B2%D8%B4%DB%8C_%DA%A9%D8%A7%D9%85%D9%84_%D8%A8%D8%B1%D8%A7%DB%8C_Pytorch\"><\/span><strong>\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0631\u0627\u06cc Pytorch<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0646\u0645\u0648\u0646\u0647 \u06a9\u0627\u0645\u0644 MNIST \u062f\u0631 Pytorch \u060c \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n\n\n<script src=\"https:\/\/gist.github.com\/williamFalcon\/38255319e7c17ceeab78e74a7ad9e6c0.js\"><\/script>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u062d\u0644\u0642\u0647-\u0622\u0645\u0648\u0632\u0634\u06cc-\u06a9\u0627\u0645\u0644-\u0628\u0631\u0627\u06cc-lightning\"><span class=\"ez-toc-section\" id=\"%D8%AD%D9%84%D9%82%D9%87_%D8%A2%D9%85%D9%88%D8%B2%D8%B4%DB%8C_%DA%A9%D8%A7%D9%85%D9%84_%D8%A8%D8%B1%D8%A7%DB%8C_Lightning\"><\/span><strong>\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0631\u0627\u06cc Lightning<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0648\u0631\u0698\u0646 Lightning \u0646\u06cc\u0632 \u062f\u0642\u06cc\u0642\u0627 \u0645\u0627\u0646\u0646\u062f pytorch \u0627\u0633\u062a\u061b \u0628\u0647 \u062c\u0632 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u06a9\u0647 \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632 :<\/p>\n<ul>\n<li>\u0639\u0646\u0627\u0635\u0631 \u06a9\u0644\u06cc\u062f\u06cc \u062a\u0648\u0633\u0637 \u0645\u0627\u0698\u0648\u0644 Lightning \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<li>\u06a9\u062f \u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634 \/ \u0627\u0639\u062a\u0628\u0627\u0631 \u0633\u0646\u062c\u06cc \u062a\u0648\u0633\u0637 \u0628\u0631\u0646\u0627\u0645\u0647 \u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647\u060c \u0628\u0647 \u062d\u0627\u0644\u062a \u0627\u0646\u062a\u0632\u0627\u0639\u06cc \u062f\u0631\u0622\u0645\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<\/ul>\n<p>\u0627\u06cc\u0646 \u0648\u0631\u0698\u0646 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u06cc \u06a9\u0646\u062f\u061b \u0627\u0645\u0627 \u0628\u0647 \u062c\u0627\u06cc \u0622\u0646\u060c \u0628\u0627\u0631\u06af\u0630\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a.<\/p>\n\n\n<script src=\"https:\/\/gist.github.com\/williamFalcon\/f946f00886edd4efd7fe80c618dfdb61.js\"><\/script>\n\n\n<p>\u0648 \u062f\u0631 \u0627\u06cc\u0646 \u062c\u0627 \u0646\u06cc\u0632 \u0647\u0645\u0627\u0646 \u06a9\u062f \u0627\u0633\u062a\u061b \u0628\u0647 \u062c\u0632 \u0622\u0646\u06a9\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627 \u062f\u0631 \u0642\u0627\u0644\u0628 \u0645\u0627\u0698\u0648\u0644 \u062f\u0627\u062f\u0647 \u06af\u0631\u0648\u0647 \u0628\u0646\u062f\u06cc \u0634\u062f\u0647 \u0648 \u0642\u0627\u0628\u0644\u06cc\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0648\u0628\u0627\u0631\u0647 \u0631\u0627 \u062f\u0627\u0631\u0627 \u0647\u0633\u062a\u0646\u062f.<\/p>\n\n\n<script src=\"https:\/\/gist.github.com\/williamFalcon\/2168a349492a9480f41f9da39ea755cd.js\"><\/script>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0646\u06a9\u0627\u062a-\u0645\u0647\u0645\"><span class=\"ez-toc-section\" id=\"%D9%86%DA%A9%D8%A7%D8%AA_%D9%85%D9%87%D9%85\"><\/span><strong>\u0646\u06a9\u0627\u062a \u0645\u0647\u0645<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u0645\u0647\u0645 \u0631\u0627 \u0628\u0647 \u0634\u0645\u0627 \u06cc\u0627\u062f\u0622\u0648\u0631 \u0634\u0648\u06cc\u0645. \u0627\u06cc\u0646 \u0646\u06a9\u0627\u062a \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632:<\/p>\n<p>\u06f1- \u0628\u062f\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Lightning \u060c \u06a9\u062f Pytorch \u0627\u0645\u06a9\u0627\u0646 \u062f\u0627\u0631\u062f \u062a\u0627 \u062f\u0631 \u0628\u062e\u0634 \u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u06cc\u0632\u06cc \u0646\u0634\u062f\u0647 \u0628\u0631\u0648\u062f. \u0627\u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 Lightning \u060c \u0627\u06cc\u0646 \u06a9\u062f\u0647\u0627 \u0633\u0627\u062e\u062a\u0627\u0631\u062f\u0647\u06cc \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<p>\u06f2- \u062f\u0631 \u0647\u0631 \u062f\u0648 \u062d\u0627\u0644\u062a \u06a9\u062f \u062f\u0642\u06cc\u0642\u0627 \u06cc\u06a9\u0633\u0627\u0646 \u0627\u0633\u062a \u0648 \u062a\u0646\u0647\u0627 \u062a\u0641\u0627\u0648\u062a\u06cc \u06a9\u0647 \u0628\u0627 \u0647\u0645 \u062f\u0627\u0631\u0646\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u06a9\u062f \u0647\u0627 \u062f\u0631 \u062f\u0627\u062e\u0644 \u00a0Lightning \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0634\u062f\u0647 \u0647\u0633\u062a\u0646\u062f.( \u0627\u0631\u0632\u0634 \u062f\u0648\u0628\u0627\u0631\u0647 \u06af\u0641\u062a\u0646 \u0631\u0627 \u062f\u0627\u0631\u062f)<\/p>\n<p>\u06f3- \u0628\u0627 \u067e\u06cc\u0686\u06cc\u062f\u0647 \u062a\u0631 \u0634\u062f\u0646 \u067e\u0631\u0648\u0698\u0647\u060c \u06a9\u062f \u067e\u06cc\u0686\u06cc\u062f\u0647 \u062a\u0631 \u0646\u062e\u0648\u0627\u0647\u062f \u0634\u062f\u061b \u0632\u06cc\u0631\u0627 Lightning \u0628\u06cc\u0634\u062a\u0631 \u0627\u06cc\u0646 \u06a9\u062f\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062d\u0627\u0644\u062a \u0627\u0646\u062a\u0632\u0627\u0639\u06cc \u062f\u0631\u0622\u0648\u0631\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u06f4- \u0634\u0645\u0627 \u0628\u062e\u0634 \u0627\u0646\u0639\u0637\u0627\u0641 \u067e\u0630\u06cc\u0631 Pytorch \u0631\u0627 \u062d\u0641\u0638 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u061b \u0632\u06cc\u0631\u0627 \u0628\u0631 \u062a\u0645\u0627\u0645 \u0645\u0648\u0627\u0631\u062f \u06a9\u0644\u06cc\u062f\u06cc \u0622\u0645\u0648\u0632\u0634 \u06a9\u0646\u062a\u0631\u0644 \u0648 \u062a\u0633\u0644\u0637 \u06a9\u0627\u0645\u0644 \u062f\u0627\u0631\u06cc\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0634\u0645\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06cc\u06a9 \u06af\u0627\u0645 \u0622\u0645\u0648\u0632\u0634\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0645\u0627\u0646\u0646\u062fseq2seq \u062f\u0627\u0631\u06cc\u062f.<\/p>\n\n\n<script src=\"https:\/\/gist.github.com\/williamFalcon\/c5b9a7b0d748db28a1c4324194676cb2.js\"><\/script>\n\n\n<p>\u06f5- \u062f\u0631 Lightning \u060c \u0634\u0645\u0627 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0627\u062f\u06cc \u0645\u0627\u0646\u0646\u062f \u0646\u0648\u0627\u0631 \u067e\u06cc\u0634\u0631\u0641\u062a \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"679\" height=\"104\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning-program.png\" alt=\"\" class=\"wp-image-13844\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning-program.png 679w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning-program-300x46.png 300w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/figure><\/div>\n\n\n<p>\u0634\u0645\u0627 \u0647\u0645 \u0686\u0646\u06cc\u0646 \u062e\u0644\u0627\u0635\u0647 \u0627\u06cc \u0627\u0632 \u0648\u0632\u0646 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u062f\u0633\u062a \u0645\u06cc \u0622\u0648\u0631\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"287\" height=\"89\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/digits.png\" alt=\"\" class=\"wp-image-13845\" title=\"\"><\/figure><\/div>\n\n\n<p>\u00a0\u0644\u0627\u06af \u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u062a\u0646\u0633\u0648\u0631 \u0628\u064f\u0631\u062f ( \u0628\u0644\u0647! \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f)<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"880\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/tensorboard.png\" alt=\"\" class=\"wp-image-13846\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/tensorboard.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/tensorboard-298x300.png 298w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/tensorboard-150x150.png 150w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/tensorboard-768x772.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<p>\u0648 \u0646\u0642\u0627\u0637 \u0628\u0631\u0631\u0633\u06cc \u0648 \u062a\u0648\u0642\u0641. \u062a\u0645\u0627\u0645 \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0648 \u0628\u0647 \u0637\u0648\u0631 \u0631\u0627\u06cc\u06af\u0627\u0646 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0634\u0645\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u0633\u0627\u06cc\u0631-\u0648\u06cc\u0698\u06af\u06cc-\u0647\u0627\"><span class=\"ez-toc-section\" id=\"%D8%B3%D8%A7%DB%8C%D8%B1_%D9%88%DB%8C%DA%98%DA%AF%DB%8C_%D9%87%D8%A7%E2%80%A6\"><\/span><strong>\u0633\u0627\u06cc\u0631 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627&#8230;<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<ul>\n<li>\u0628\u0627 Lightning \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u062f\u0644 \u062e\u0648\u062f \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc CPU\u060c \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u0647\u0627\u06cc \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u060c \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u0647\u0627\u06cc \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0686\u0646\u062f \u0644\u0627\u06cc\u0647 \u0648 \u06cc\u0627 TPU \u0647\u0627 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u062f Pytorch \u060c \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/li>\n<li>\u0634\u0645\u0627 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u062f\u0642\u062a \u06f1\u06f6 \u0628\u06cc\u062a\u06cc \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"456\" height=\"69\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/train-16-bit.png\" alt=\"\" class=\"wp-image-13847\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/train-16-bit.png 456w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/train-16-bit-300x45.png 300w\" sizes=\"(max-width: 456px) 100vw, 456px\" \/><\/figure><\/div>\n\n\n<p>\u0644\u0627\u06af \u0647\u0627\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u0634\u062f\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/experiment_logging.html\" target=\"_blank\" rel=\"noopener\">\u06f5 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u062f\u06cc\u06af\u0631<\/a> \u0628\u0631\u0627\u06cc<a href=\"https:\/\/www.tensorflow.org\/tensorboard\" target=\"_blank\" rel=\"noopener\"> \u062a\u0646\u0633\u0648\u0631\u0628\u0648\u0631\u062f<\/a><\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"800\" height=\"408\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning-graph.gif\" alt=\"\" class=\"wp-image-13848\" title=\"\"><\/figure>\n\n\n<p>\u062d\u062a\u06cc \u06cc\u06a9 \u067e\u0631\u0648\u0641\u0627\u06cc\u0644 \u062f\u0627\u062e\u0644\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0647 \u0634\u0645\u0627 \u0645\u06cc \u06af\u0648\u06cc\u062f \u06af\u0644\u0648\u06af\u0627\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u06a9\u062c\u0627\u0633\u062a.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"297\" height=\"43\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/profiler.png\" alt=\"\" class=\"wp-image-13849\" title=\"\"><\/figure><\/div>\n\n\n<p>\u0628\u0627 \u0641\u0639\u0627\u0644 \u0633\u0627\u0632\u06cc \u0641\u0644\u06af \u0627\u06cc\u0646 \u062e\u0631\u0648\u062c\u06cc \u0628\u0647 \u0634\u0645\u0627 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"628\" height=\"282\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/profiler-report.png\" alt=\"\" class=\"wp-image-13850\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/profiler-report.png 628w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/profiler-report-300x135.png 300w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/figure><\/div>\n\n\n<p>\u06cc\u0627 \u0627\u06af\u0631 \u062e\u0631\u0648\u062c\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u062a\u0631\u06cc \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0627\u06cc\u062f \u0628\u0647 \u0634\u06cc\u0648\u0647 \u0632\u06cc\u0631 \u0639\u0645\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"328\" height=\"52\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/advanced-output.png\" alt=\"\" class=\"wp-image-13851\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/advanced-output.png 328w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/advanced-output-300x48.png 300w\" sizes=\"(max-width: 328px) 100vw, 328px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"695\" height=\"334\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/advanced-output.2.png\" alt=\"\" class=\"wp-image-13853\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/advanced-output.2.png 695w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/advanced-output.2-300x144.png 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/figure><\/div>\n\n\n<p>\u0645\u0627 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 <a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/multi_gpu.html\" target=\"_blank\" rel=\"noopener\">\u0686\u0646\u062f \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0631\u0627 \u0647\u0645\u0632\u0645\u0627\u0646 \u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u06cc\u0645<\/a>. \u0628\u062f\u0648\u0646 \u0622\u0646 \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u06a9\u0627\u0631 \u062e\u0627\u0635\u06cc \u0628\u0627\u0634\u062f (\u0647\u0646\u0648\u0632\u0628\u0627\u06cc\u062f \u06cc\u06a9 <a href=\"https:\/\/slurm.schedmd.com\/overview.html\" target=\"_blank\" rel=\"noopener\">SLURM<\/a> \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u06cc\u062f).<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"677\" height=\"63\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/distributed-backend.png\" alt=\"\" class=\"wp-image-13855\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/distributed-backend.png 677w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/distributed-backend-300x28.png 300w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/><\/figure><\/div>\n\n\n<p>\u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 Lightning \u0627\u0632 \u062d\u062f\u0648\u062f <a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/trainer.html\" target=\"_blank\" rel=\"noopener\">\u06f4\u06f0 \u0648\u06cc\u0698\u06af\u06cc \u062f\u06cc\u06af\u0631<\/a> \u0646\u06cc\u0632 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0633\u062a\u0646\u062f\u0627\u062a \u0622\u0646 \u0647\u0627 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u062a\u0648\u0633\u0639\u0647-\u067e\u0630\u06cc\u0631\u06cc-\u0628\u0627-hook-\u0647\u0627\"><span class=\"ez-toc-section\" id=\"%D8%AA%D9%88%D8%B3%D8%B9%D9%87_%D9%BE%D8%B0%DB%8C%D8%B1%DB%8C_%D8%A8%D8%A7_Hook_%D9%87%D8%A7\"><\/span><strong>\u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0628\u0627 Hook \u0647\u0627<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0627\u062d\u062a\u0645\u0627\u0644\u0627 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0633\u0648\u0627\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a Lightning \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc\u062a\u0627\u0646 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f \u0648 \u062f\u0631 \u0639\u06cc\u0646 \u062d\u0627\u0644 \u0628\u0647 \u0646\u062d\u0648\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f \u06a9\u0647 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644\u06cc \u0628\u0631 \u0647\u0645\u0647 \u0686\u06cc\u0632 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u061f<\/p>\n<p>\u0628\u0631\u062e\u0644\u0627\u0641 <a href=\"https:\/\/shahaab-co.com\/mag\/edu\/deep-learning\/keras-tutorial-fine-tuning-using-pre-trained-models\/\">Keras<\/a> \u0648 \u06cc\u0627 \u0633\u0627\u06cc\u0631 \u0686\u0627\u0631\u0686\u0648\u0628 \u0647\u0627\u06cc \u0633\u0637\u062d \u0628\u0627\u0644\u0627\u060c Lightning\u00a0 \u0647\u06cc\u0686 \u06af\u0648\u0646\u0647 \u062c\u0632\u06cc\u06cc\u0627\u062a \u0644\u0627\u0632\u0645 \u0631\u0627 \u0627\u0632 \u0634\u0645\u0627 \u067e\u0646\u0647\u0627\u0646 \u0646\u0645\u06cc \u06a9\u0646\u062f. \u0645\u06af\u0631 \u0627\u06cc\u0646 \u06a9\u0647 \u062e\u0648\u062f\u062a\u0627\u0646 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u062a\u0645\u0627\u0645 \u0627\u0634\u06a9\u0627\u0644 \u0648 \u062c\u0646\u0628\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u0627\u0635\u0644\u0627\u062d \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0634\u0645\u0627 \u062f\u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u0645\u0647\u0645 \u062f\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u0627\u0648\u0644\u06cc\u0646 \u0645\u0648\u0631\u062f\u060c \u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0627\u0632 \u0637\u0631\u06cc\u0642 Hook \u0647\u0627 \u0627\u0633\u062a.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u062c\u0627 \u06cc\u06a9 \u0644\u06cc\u0633\u062a \u063a\u06cc\u0631 \u062c\u0627\u0645\u0639 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f:<\/p>\n<ul>\n<li><a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/lightning-module.html#pytorch_lightning.core.LightningModule.forward\" target=\"_blank\" rel=\"noopener\">\u0627\u0646\u062a\u0634\u0627\u0631 \u0628\u0647 \u062c\u0644\u0648<\/a><\/li>\n<li>\u0627\u0646\u062a\u0634\u0627\u0631 \u0628\u0647 \u0639\u0642\u0628<\/li>\n<li><a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/lightning-module.html#pytorch_lightning.core.LightningModule.optimizer_step\" target=\"_blank\" rel=\"noopener\">\u0627\u0639\u0645\u0627\u0644 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u0647\u0627<\/a><\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"131\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/optimize.png\" alt=\"\" class=\"wp-image-13856\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/optimize.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/optimize-300x45.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/optimize-768x115.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<ul>\n<li><a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/lightning-module.html#pytorch_lightning.core.LightningModule.init_ddp_connection\" target=\"_blank\" rel=\"noopener\">\u062a\u0646\u0638\u06cc\u0645 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u062a\u0648\u0632\u06cc\u0639 \u0634\u062f\u0647<\/a><\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"962\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/distributed-data.png\" alt=\"\" class=\"wp-image-13857\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/distributed-data.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/distributed-data-273x300.png 273w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/distributed-data-768x844.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<ul>\n<li><a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/lightning-module.html#pytorch_lightning.core.LightningModule.configure_apex\" target=\"_blank\" rel=\"noopener\">\u062a\u0646\u0638\u06cc\u0645 \u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 \u06f1\u06f6 \u0628\u06cc\u062a\u06cc<\/a><\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"279\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/16-bit-trainer.png\" alt=\"\" class=\"wp-image-13858\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/16-bit-trainer.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/16-bit-trainer-300x96.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/16-bit-trainer-768x245.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<ul>\n<li><a href=\"https:\/\/pytorch-lightning.readthedocs.io\/en\/latest\/lightning-module.html#pytorch_lightning.core.LightningModule.tbptt_split_batch\" target=\"_blank\" rel=\"noopener\">\u0686\u06af\u0648\u0646\u0647 \u067e\u0633 \u0627\u0646\u062a\u0634\u0627\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645<\/a><\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"480\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightner.5.png\" alt=\"\" class=\"wp-image-13859\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightner.5.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightner.5-300x165.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightner.5-768x421.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<ul>\n<li>\u0648 \u0633\u0627\u06cc\u0631 \u0686\u06cc\u0632\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0628\u0647 \u0622\u0646 \u0647\u0627 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f<\/li>\n<\/ul>\n<p>\u0647\u0645\u0647 \u0627\u06cc\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0631 Lightning \u0627\u062a\u0641\u0627\u0642 \u0645\u06cc \u0627\u0641\u062a\u062f.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"173\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.6.png\" alt=\"\" class=\"wp-image-13860\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.6.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.6-300x59.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/lightning.6-768x152.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u062a\u0648\u0633\u0639\u0647-\u067e\u0630\u06cc\u0631\u06cc-\u0628\u0627-\u0641\u0631\u0627\u062e\u0648\u0627\u0646-\u0647\u0627\"><span class=\"ez-toc-section\" id=\"%D8%AA%D9%88%D8%B3%D8%B9%D9%87_%D9%BE%D8%B0%DB%8C%D8%B1%DB%8C_%D8%A8%D8%A7_%D9%81%D8%B1%D8%A7%D8%AE%D9%88%D8%A7%D9%86_%D9%87%D8%A7\"><\/span><strong>\u062a\u0648\u0633\u0639\u0647 \u067e\u0630\u06cc\u0631\u06cc \u0628\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0647\u0627<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0641\u0631\u0627\u062e\u0648\u0627\u0646\u060c \u0642\u0637\u0639\u0647 \u0627\u06cc \u0627\u0632 \u06cc\u06a9 \u06a9\u062f \u0627\u0633\u062a \u06a9\u0647 \u0634\u0645\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631 \u0628\u062e\u0634 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0622\u0645\u0648\u0632\u0634 \u062a\u0627\u0646\u060c \u0622\u0646 \u0631\u0627 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u0648 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f. \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0647\u0627 \u062f\u0631 Lightning \u0628\u0631\u0627\u06cc \u06a9\u062f\u0647\u0627\u06cc \u063a\u06cc\u0631 \u0636\u0631\u0648\u0631\u06cc \u0645\u0627\u0646\u0646\u062f \u0648\u0631\u0648\u062f\u06cc \u0648 \u06cc\u0627 \u0647\u0631 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0628\u0647 \u06a9\u062f \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u0645\u0631\u0628\u0648\u0637 \u0646\u06cc\u0633\u062a\u060c \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u062a\u0627 \u062e\u0644\u0644\u06cc \u062f\u0631 \u06a9\u062f \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u0648\u0627\u0631\u062f \u0646\u0634\u0648\u062f \u0648 \u0628\u0647 \u062e\u0648\u0628\u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u0641\u0631\u0636 \u06a9\u0646\u06cc\u062f \u0634\u0645\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631 \u0628\u062e\u0634 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0622\u0645\u0648\u0632\u0634\u06cc \u0628\u0639\u0636\u06cc \u0686\u06cc\u0632\u0647\u0627 \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u0648 \u06cc\u0627 \u067e\u0631\u06cc\u0646\u062a \u06a9\u0646\u06cc\u062f. \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0628\u0647 \u0634\u0645\u0627 \u0646\u062d\u0648\u0647 \u0627\u06cc\u0646 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"463\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-backs.png\" alt=\"\" class=\"wp-image-13861\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-backs.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-backs-300x159.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-backs-768x406.png 768w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-backs-310x165.png 310w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<p>\u0627\u06a9\u0646\u0648\u0646 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u06a9\u062f \u0631\u0627 \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 \u062e\u0648\u062f \u0645\u06cc \u062f\u0647\u06cc\u062f \u0648 \u0627\u06cc\u0646 \u06a9\u062f \u062f\u0631 \u0632\u0645\u0627\u0646 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc&nbsp; \u0645\u06cc \u0634\u0648\u062f.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"875\" height=\"61\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-back.2.png\" alt=\"\" class=\"wp-image-13862\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-back.2.png 875w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-back.2-300x21.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/call-back.2-768x54.png 768w\" sizes=\"(max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n<p>\u0627\u06cc\u0646 \u0627\u0644\u06af\u0648\u060c \u06a9\u062f \u0634\u0645\u0627 \u0631\u0627 \u062f\u0631 \u0633\u0647 \u0633\u0637\u062d \u0645\u062e\u062a\u0644\u0641 \u062f\u0633\u062a\u0647 \u0628\u0646\u062f\u06cc \u0645\u06cc \u06a9\u0646\u062f:<\/p>\n<ul>\n<li>\u06a9\u062f \u062a\u062d\u0642\u06cc\u0642( \u0645\u0627\u0698\u0648\u0644 Lightning )<\/li>\n<li>\u06a9\u062f \u0645\u0647\u0646\u062f\u0633\u06cc( \u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 )<\/li>\n<li>\u06a9\u062f\u0647\u0627\u06cc \u063a\u06cc\u0631 \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u062a\u062d\u0642\u06cc\u0642 ( \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0647\u0627 )<\/li>\n<\/ul>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0627\u0632-\u06a9\u062c\u0627-\u0634\u0631\u0648\u0639-\u06a9\u0646\u06cc\u0645\"><span class=\"ez-toc-section\" id=\"%D8%A7%D8%B2_%DA%A9%D8%AC%D8%A7_%D8%B4%D8%B1%D9%88%D8%B9_%DA%A9%D9%86%DB%8C%D9%85%D8%9F\"><\/span><strong>\u0627\u0632 \u06a9\u062c\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u0645\u061f<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p>\u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0634\u0645\u0627 \u0631\u0627 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u06a9\u0631\u062f\u06cc\u0645 \u06a9\u0647 \u0686\u0647 \u06a9\u0627\u0631 \u0628\u0627\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0634\u0631\u0648\u0639 \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a <a href=\"https:\/\/colab.research.google.com\/drive\/1F_RNcHzTfFuQf-LeKvSlud6x7jXYkG31#scrollTo=gjo55nA549pU\" target=\"_blank\" rel=\"noopener\">\u0646\u0648\u062a\u0628\u0648\u06a9 Colab \u0631\u0627 \u0631\u0648\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc MNIST<\/a> \u0627\u062c\u0631\u0627 \u06a9\u0631\u062f\u0647 \u0648 \u06cc\u0627 Lightning \u0631\u0627 \u0645\u0637\u0627\u0628\u0642 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"974\" height=\"156\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0646\u0635\u0628-python-lightning.png\" alt=\"\u0646\u0635\u0628 python lightning\" class=\"wp-image-13928\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0646\u0635\u0628-python-lightning.png 974w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0646\u0635\u0628-python-lightning-300x48.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2022\/01\/\u0646\u0635\u0628-python-lightning-768x123.png 768w\" sizes=\"(max-width: 974px) 100vw, 974px\" \/><\/figure><\/div>\n\n\n<p>\u0648 \u06cc\u0627 \u0628\u0647 <a href=\"https:\/\/github.com\/PyTorchLightning\/pytorch-lightning\" target=\"_blank\" rel=\"noopener\">\u0635\u0641\u062d\u0647 github<\/a> \u0628\u0631\u0648\u06cc\u062f.<\/p>\n<p><strong>\u0628\u06cc\u0634\u062a\u0631 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f :<\/strong><\/p>\n\n\n<div class=\"wp-block-columns has-vivid-green-cyan-color has-text-color is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<ul class=\"wp-block-yoast-seo-related-links\"><li><a href=\"https:\/\/shahaab-co.com\/mag\/edu\/ml\/machine-learning-in-opencv-chapter-1\/\">\u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0645\u0627\u0634\u06cc\u0646 \u062f\u0631 OpenCV : \u062c\u0644\u0633\u0647 \u0627\u0648\u0644<\/a><\/li><li><a href=\"https:\/\/shahaab-co.com\/mag\/edu\/deep-learning\/pytorch-for-beginners-basics\/\">\u0622\u0645\u0648\u0632\u0634 PyTorch \u0628\u0631\u0627\u06cc \u0645\u0628\u062a\u062f\u06cc\u0627\u0646 &#8211; \u0645\u0628\u0627\u0646\u06cc<\/a><\/li><li><a href=\"https:\/\/shahaab-co.com\/mag\/edu\/ml\/support-vector-machine-part2-coding\/\">\u0645\u0627\u0634\u06cc\u0646 \u0628\u0631\u062f\u0627\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 ( SVM ) \u2013 \u0628\u062e\u0634 \u062f\u0648\u0645 : \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc<\/a><\/li><li><a href=\"https:\/\/shahaab-co.com\/mag\/courses\/pytorch-for-beginners-course\/\">\u062f\u0648\u0631\u0647 \u062c\u0627\u0645\u0639 \u0622\u0645\u0648\u0632\u0634 PyTorch \u0628\u0631\u0627\u06cc \u0645\u0628\u062a\u062f\u06cc\u0627\u0646<\/a><\/li><li><a href=\"https:\/\/shahaab-co.com\/mag\/edu\/deep-learning\/pytorch-model-inference-using-onnx-and-caffe2\/\">\u0622\u0645\u0648\u0632\u0634 PyTorch \u0628\u0631\u0627\u06cc \u0645\u0628\u062a\u062f\u06cc\u0627\u0646 \u2013 \u0627\u0633\u062a\u0646\u0628\u0627\u0637 \u0645\u062f\u0644 \u0628\u0627 ONNX \u0648 Caffe2<\/a><\/li><\/ul>\n<\/div>\n<\/div>\n\n\n<a href=\"#\" class=\"shortc-button small blue \">\u0645\u0646\u0628\u0639<\/a> <a href=\"https:\/\/towardsdatascience.com\/from-pytorch-to-pytorch-lightning-a-gentle-introduction-b371b7caaf09\" target=\"_blank\" class=\"shortc-button small grey \" rel=\"noopener\">Towards Data Science<\/a>\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;13816&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0627\u0645\u062a\u06cc\u0627\u0632 \u062f\u0647\u06cc\u062f!&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0627\u0632 Pytorch \u0628\u0647 Pytorch lightning - \u0645\u0639\u0631\u0641\u06cc \u06a9\u0644\u06cc&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">\u0627\u0645\u062a\u06cc\u0627\u0632 \u062f\u0647\u06cc\u062f!<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0627\u06cc\u0646 \u0633\u0648\u0627\u0644 \u0634\u0645\u0627 \u067e\u0627\u0633\u062e \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u062f \u06a9\u0647 \u0648\u0642\u062a\u06cc \u0645\u0627 \u0627\u0632 Pytorch \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u0686\u0647 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 Lightning \u062f\u0627\u0631\u06cc\u0645\u061f \u0641\u0647\u0631\u0633\u062a \u0645\u0637\u0627\u0644\u0628Pytorch lightning \u0628\u0631\u0627\u06cc \u0686\u0647 \u06a9\u0633\u0627\u0646\u06cc \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u061f\u0637\u0631\u062d \u06a9\u0644\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u067e\u0631\u0648\u0698\u0647 \u062a\u062d\u0642\u06cc\u0642\u0627\u062a\u06cc \u0645\u062a\u062f\u0627\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc\u0645\u062f\u0644\u062f\u0627\u062f\u0647\u0622\u0645\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062f\u0627\u062f\u0647\u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u060c \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u0636\u0631\u0631\u062d\u0644\u0642\u0647 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc\u0622\u0645\u0648\u0632\u0634 \u062f\u0647\u0646\u062f\u0647 Lightning\u062d\u0644\u0642\u0647 &hellip;<\/p>\n","protected":false},"author":22,"featured_media":13934,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[21],"tags":[84,147],"class_list":["post-13816","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-programming-tools","tag-84","tag-147"],"_links":{"self":[{"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/posts\/13816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/comments?post=13816"}],"version-history":[{"count":29,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/posts\/13816\/revisions"}],"predecessor-version":[{"id":16161,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/posts\/13816\/revisions\/16161"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/media\/13934"}],"wp:attachment":[{"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/media?parent=13816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/categories?post=13816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/tags?post=13816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}