{"id":12374,"date":"2021-08-16T08:10:00","date_gmt":"2021-08-16T03:40:00","guid":{"rendered":"https:\/\/shahaab-co.com\/mag\/?p=12374"},"modified":"2024-11-29T18:36:45","modified_gmt":"2024-11-29T15:06:45","slug":"understanding-autoencoders-using-tensorflow-python","status":"publish","type":"post","link":"https:\/\/shahaab-co.com\/mag\/edu\/deep-learning\/understanding-autoencoders-using-tensorflow-python\/","title":{"rendered":"\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 Autoencoder \u0647\u0627 \u062f\u0631 Tensorflow \u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632"},"content":{"rendered":"<p style=\"text-align: justify;\">\u062f\u0631 <a href=\"https:\/\/shahaab-co.com\/mag\/edu\/deep-learning\/understanding-feedforward-neural-networks\/\" target=\"_blank\" rel=\"noopener\">\u067e\u0633\u062a \u0642\u0628\u0644\u06cc<\/a> \u0628\u0647 \u062f\u0631\u06a9 \u0634\u0628\u06a9\u0647 \u0639\u0635\u0628\u06cc \u067e\u06cc\u0634\u062e\u0648\u0631 \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u060c \u0628\u0627 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 ( Autoencoder ) \u0647\u0627 \u062f\u0631 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0639\u0645\u06cc\u0642 \u0622\u0634\u0646\u0627 \u062e\u0648\u0627\u0647\u06cc\u0645 \u0634\u062f. \u0645\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u06cc\u06a9 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u0639\u0645\u0644\u06cc \u0627\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632 \u062f\u0631 \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0627\u0631\u0642\u0627\u0645 \u062f\u0633\u062a \u0646\u0648\u06cc\u0633 <a href=\"https:\/\/en.wikipedia.org\/wiki\/MNIST_database\" target=\"_blank\" rel=\"noopener\">MNIST<\/a> \u0631\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f. \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646 \u060c \u0645\u0627 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062f\u0631 Tensorflow \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.<\/p>\n\n\n<div class=\"wp-block-rank-math-toc-block\"><h2>\u0641\u0647\u0631\u0633\u062a \u0645\u0637\u0627\u0644\u0628<\/h2><nav><ul><li><a href=\"#h-1\" >\u06f1- \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0686\u06cc\u0633\u062a\u061f<\/a><\/li><li><a href=\"#h-2\" >\u06f2- \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632<\/a><\/li><li><a href=\"#h-3\" >\u06f3- \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632<\/a><ul><li><a href=\"#h-1-3\" >\u06f1-\u06f3- \u0634\u0628\u06a9\u0647<\/a><\/li><li><a href=\"#h-2-3\" >\u06f2-\u06f3- \u0631\u0645\u0632\u06af\u0630\u0627\u0631<\/a><\/li><li><a href=\"#h-3-3\" >\u06f3-\u06f3- \u0631\u0645\u0632\u06af\u0634\u0627<\/a><\/li><li><a href=\"#h-4-3-relu-leaky-relu\" >\u06f4-\u06f3- \u0686\u0631\u0627 \u0645\u0627 \u0628\u0647 \u062c\u0627\u06cc ReLU \u0627\u0632leaky ReLU \u00a0\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062a\u0627\u0628\u0639 \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u061f<\/a><\/li><li><a href=\"#h-5-3\" >\u06f5-\u06f3- \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627<\/a><\/li><li><a href=\"#h-6-3\" >\u06f6-\u06f3- \u062a\u062c\u0632\u06cc\u0647 \u0648 \u062a\u062d\u0644\u06cc\u0644 \u062f\u0627\u062f\u0647 \u0647\u0627<\/a><\/li><li><a href=\"#h-7-3\" >\u06f7-\u06f3- \u067e\u06cc\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0627\u062f\u0647 \u0647\u0627<\/a><\/li><li><a href=\"#h-8-3\" >\u06f8-\u06f3- \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0631\u0632\u06cc\u0627\u0628\u06cc \u0645\u062f\u0644<\/a><\/li><li><a href=\"#h-9-3\" >\u06f9-\u06f3- \u0645\u0642\u0627\u06cc\u0633\u0647 \u0636\u0631\u0631 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc<\/a><\/li><li><a href=\"#h-10-3\" >\u06f1\u06f0-\u06f3- \u0646\u062a\u06cc\u062c\u0647<\/a><\/li><\/ul><\/li><\/nav><\/ul><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-1\"><strong>\u06f1- \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0686\u06cc\u0633\u062a\u061f<\/strong><\/h2>\n\n\n<p style=\"text-align: justify;\">\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u06cc\u0627 Autoencoder \u06cc\u06a9 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0628\u062f\u0648\u0646 \u0646\u0638\u0627\u0631\u062a \u0627\u0633\u062a \u06a9\u0647 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0631\u0648\u062f\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0639\u062f\u0627\u062f \u0628\u06cc\u062a \u06a9\u0645\u062a\u0631 \u0622\u0646 \u0631\u0627 \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u0645\u06cc \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0634\u0628\u06cc\u0647 \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u062a\u0635\u0648\u06cc\u0631 \u0628\u0647 \u0646\u0638\u0631 \u0628\u0631\u0633\u062f \u060c \u0627\u0645\u0627 \u0628\u0632\u0631\u06af\u062a\u0631\u06cc\u0646 \u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645 \u0647\u0627\u06cc \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0648 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0647\u0627 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0645\u0648\u0631\u062f \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0647\u0627 \u060c \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u0628\u0627 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u0628\u0647 \u062f\u0633\u062a \u0645\u06cc \u0622\u06cc\u062f. \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u0645\u0639\u0642\u0648\u0644 \u0648 \u0645\u0646\u0637\u0642\u06cc \u0632\u0645\u0627\u0646\u06cc \u062d\u0627\u0635\u0644 \u0645\u06cc \u0634\u0648\u062f \u06a9\u0647 \u062a\u0635\u0648\u06cc\u0631\u06cc \u0645\u0634\u0627\u0628\u0647 \u0645\u062c\u0645\u0648\u0639\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f \u060c \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0647\u0627 \u0647\u0631 \u062a\u0635\u0648\u06cc\u0631\u06cc \u0631\u0627 \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc JPEG \u0628\u0633\u06cc\u0627\u0631 \u0628\u0647\u062a\u0631 \u0639\u0645\u0644 \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0647\u0627 \u0628\u0647 \u062a\u06a9\u0646\u06cc\u06a9 \u0647\u0627\u06cc \u06a9\u0627\u0647\u0634 \u0627\u0628\u0639\u0627\u062f \u0645\u0627\u0646\u0646\u062f <a href=\"https:\/\/shahaab-co.com\/mag\/edu\/principal-component-analysis-pca\/\" target=\"_blank\" rel=\"noopener\">\u062a\u062d\u0644\u06cc\u0644 \u0645\u0648\u0644\u0641\u0647 \u0647\u0627\u06cc \u0627\u0635\u0644\u06cc<\/a> \u0634\u0628\u0627\u0647\u062a \u062f\u0627\u0631\u0646\u062f. \u0622\u0646 \u0647\u0627 \u0641\u0636\u0627\u06cc\u06cc \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0642\u0633\u0645\u062a \u0647\u0627\u06cc \u0627\u0633\u0627\u0633\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627 \u062d\u0641\u0638 \u0645\u06cc \u0634\u0648\u0646\u062f \u060c \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0642\u0633\u0645\u062a \u0647\u0627\u06cc \u063a\u06cc\u0631\u0636\u0631\u0648\u0631\u06cc ( \u06cc\u0627 \u0646\u0648\u06cc\u0632\u06cc ) \u062d\u0630\u0641 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u06cc\u06a9 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0627\u0632 \u062f\u0648 \u0642\u0633\u0645\u062a \u062a\u0634\u06a9\u06cc\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a :<\/p>\n<ol style=\"text-align: justify;\">\n<li><strong>\u0631\u0645\u0632\u06af\u0630\u0627\u0631 <\/strong>: \u0627\u06cc\u0646 \u0628\u062e\u0634\u06cc \u0627\u0632 \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0648\u0631\u0648\u062f\u06cc \u0631\u0627 \u0628\u0647 \u062a\u0639\u062f\u0627\u062f \u06a9\u0645\u062a\u0631\u06cc \u0627\u0632 \u0628\u06cc\u062a \u0647\u0627 \u0641\u0634\u0631\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f. \u0641\u0636\u0627\u06cc \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637 \u0627\u06cc\u0646 \u062a\u0639\u062f\u0627\u062f \u0628\u06cc\u062a \u06a9\u0645\u062a\u0631 &#8220;\u0641\u0636\u0627\u06cc \u067e\u0646\u0647\u0627\u0646&#8221; \u0648 \u0646\u0642\u0637\u0647 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0641\u0634\u0631\u062f\u0647 \u0633\u0627\u0632\u06cc &#8220;\u06af\u0644\u0648\u06af\u0627\u0647&#8221; \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0627\u06cc\u0646 \u0628\u06cc\u062a \u0647\u0627\u06cc \u0641\u0634\u0631\u062f\u0647 \u0634\u062f\u0647 \u06a9\u0647 \u0646\u0634\u0627\u0646\u06af\u0631 \u0648\u0631\u0648\u062f\u06cc \u0627\u0635\u0644\u06cc \u0647\u0633\u062a\u0646\u062f \u060c &#8220;\u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc&#8221; \u0648\u0631\u0648\u062f\u06cc \u062e\u0648\u0627\u0646\u062f\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/li>\n<li><strong>\u0631\u0645\u0632\u06af\u0634\u0627<\/strong> : \u0627\u06cc\u0646 \u0628\u062e\u0634\u06cc \u0627\u0632 \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0648\u0631\u0648\u062f\u06cc \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u062a\u0635\u0648\u06cc\u0631 \u060c \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u0645\u06cc \u06a9\u0646\u062f.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631 \u0645\u0641\u0647\u0648\u0645 \u0646\u06af\u0627\u0647\u06cc \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u0634\u062a.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"299\" height=\"168\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u062f\u0648-\u0644\u0627\u06cc\u0647.jpg\" alt=\"\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062f\u0648 \u0644\u0627\u06cc\u0647\" class=\"wp-image-12441\" title=\"\"><figcaption>\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062f\u0648 \u0644\u0627\u06cc\u0647<\/figcaption><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627\u0644\u0627 \u060c \u0645\u0627 \u06cc\u06a9 Autoencoder \u0633\u0627\u062f\u0647 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u06cc\u0645 \u060c \u06cc\u06a9 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u06f2 \u0644\u0627\u06cc\u0647 \u0628\u0627 \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u0645\u062e\u0641\u06cc. \u0644\u0627\u06cc\u0647 \u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u0648 \u062e\u0631\u0648\u062c\u06cc \u062a\u0639\u062f\u0627\u062f \u0646\u0648\u0631\u0648\u0646 \u0647\u0627\u06cc \u06cc\u06a9\u0633\u0627\u0646 \u062f\u0627\u0631\u0646\u062f. \u0645\u0627 \u067e\u0646\u062c \u0645\u0642\u062f\u0627\u0631 \u0648\u0627\u0642\u0639\u06cc \u0631\u0627 \u0648\u0627\u0631\u062f \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062a\u0648\u0633\u0637 \u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0628\u0647 \u0633\u0647 \u0645\u0642\u062f\u0627\u0631 \u0648\u0627\u0642\u0639\u06cc \u062f\u0631 \u06af\u0644\u0648\u06af\u0627\u0647 (\u0644\u0627\u06cc\u0647 \u0645\u06cc\u0627\u0646\u06cc) \u0641\u0634\u0631\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0633\u0647 \u0645\u0642\u062f\u0627\u0631 \u0648\u0627\u0642\u0639\u06cc \u060c \u0631\u0645\u0632\u06af\u0634\u0627 \u0645\u06cc \u06a9\u0648\u0634\u062f \u067e\u0646\u062c \u0645\u0642\u062f\u0627\u0631 \u0648\u0627\u0642\u0639\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0631\u0648\u062f\u06cc \u0634\u0628\u06a9\u0647 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0647 \u0628\u0648\u062f\u06cc\u0645 \u060c \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u06a9\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0639\u0645\u0644 \u060c \u062a\u0639\u062f\u0627\u062f \u0628\u0633\u06cc\u0627\u0631 \u0628\u06cc\u0634\u062a\u0631\u06cc \u0627\u0632 \u0644\u0627\u06cc\u0647 \u0647\u0627\u06cc \u0645\u062e\u0641\u06cc \u0628\u06cc\u0646 \u0648\u0631\u0648\u062f\u06cc \u0648 \u062e\u0631\u0648\u062c\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0627\u0646\u0648\u0627\u0639 \u0645\u062e\u062a\u0644\u0641\u06cc \u0627\u0632 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0647\u0627 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0645\u0627\u0646\u0646\u062f Sparse Autoencoder \u060c Variational Autoencoder \u0648 Denoising Autoencoder \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u060c \u0645\u0627 \u0628\u0627 \u06cc\u06a9 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632 ( Denoising ) \u0622\u0634\u0646\u0627 \u0645\u06cc \u0634\u0648\u06cc\u0645.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-2\"><strong>\u06f2- \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"678\" height=\"247\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u062b\u0627\u0644-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632-\u0628\u0627-\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u0647\u0627.jpg\" alt=\"\u0645\u062b\u0627\u0644 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632 \u0628\u0627 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0647\u0627\" class=\"wp-image-12444\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u062b\u0627\u0644-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632-\u0628\u0627-\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u0647\u0627.jpg 678w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u062b\u0627\u0644-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632-\u0628\u0627-\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u0647\u0627-300x109.jpg 300w\" sizes=\"(max-width: 678px) 100vw, 678px\" \/><figcaption>\u0645\u062b\u0627\u0644 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632 \u0628\u0627 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0647\u0627<\/figcaption><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u0627\u06cc\u062f\u0647 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632 \u060c \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0628\u0627\u0632\u0646\u0645\u0627\u06cc\u06cc (\u0641\u0636\u0627\u06cc \u067e\u0646\u0647\u0627\u0646) \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u0646\u0648\u06cc\u0632 \u0627\u06cc\u0645\u0646 \u0627\u0633\u062a. \u0646\u0648\u06cc\u0632 \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0633\u067e\u0633 \u0627\u06cc\u0646 \u062a\u0635\u0648\u06cc\u0631 \u0646\u0648\u06cc\u0632\u06cc \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0631\u0648\u062f\u06cc \u0628\u0647 \u0634\u0628\u06a9\u0647 \u062e\u0648\u062f \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0642\u0633\u0645\u062a \u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u060c \u062a\u0635\u0648\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u0641\u0636\u0627\u06cc \u062f\u06cc\u06af\u0631\u06cc \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0627\u0631\u0642\u0627\u0645 \u062f\u0633\u062a \u0646\u0648\u06cc\u0633 \u0631\u0627 \u062d\u0641\u0638 \u0645\u06cc \u06a9\u0646\u062f \u0627\u0645\u0627 \u0646\u0648\u06cc\u0632 \u0631\u0627 \u0627\u0632 \u0628\u06cc\u0646 \u0645\u06cc \u0628\u0631\u062f. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u06cc\u062f \u060c \u0627\u0628\u0639\u0627\u062f \u062a\u0635\u0648\u06cc\u0631 \u0627\u0635\u0644\u06cc \u06f2\u06f8x28x1 \u0627\u0633\u062a \u0648 \u062a\u0635\u0648\u06cc\u0631 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u06f7x7x32 \u0627\u0633\u062a. \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0635\u0648\u06cc\u0631 \u06f7x7x32 \u0631\u0627 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u06f7&#215;\u06f7 \u0628\u0627 \u06f3\u06f2 \u06a9\u0627\u0646\u0627\u0644 \u0631\u0646\u06af\u06cc \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0633\u067e\u0633 \u0642\u0633\u0645\u062a \u0631\u0645\u0632\u06af\u0634\u0627\u06cc\u06cc \u0634\u0628\u06a9\u0647 \u060c \u062a\u0635\u0648\u06cc\u0631 \u0627\u0635\u0644\u06cc \u0631\u0627 \u0627\u0632 \u0627\u06cc\u0646 \u062a\u0635\u0648\u06cc\u0631 \u06f7x7x32 \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0646\u0648\u06cc\u0632 \u0627\u0632 \u0628\u06cc\u0646 \u0645\u06cc \u0631\u0648\u062f!<\/p>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u062c\u0627\u062f\u0648 \u0686\u06af\u0648\u0646\u0647 \u0627\u062a\u0641\u0627\u0642 \u0645\u06cc \u0627\u0641\u062a\u062f\u061f<\/p>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0637\u0648\u0644 \u0622\u0645\u0648\u0632\u0634 \u060c \u0645\u0627 \u06cc\u06a9 \u0636\u0631\u0631 (\u062a\u0627\u0628\u0639 \u0647\u0632\u06cc\u0646\u0647) \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 \u062a\u0635\u0648\u06cc\u0631 \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u0634\u062f\u0647 \u0648 \u062a\u0635\u0648\u06cc\u0631 \u0628\u062f\u0648\u0646 \u0646\u0648\u06cc\u0632 \u0627\u0635\u0644\u06cc \u0631\u0627 \u0628\u0647 \u062d\u062f\u0627\u0642\u0644 \u0628\u0631\u0633\u0627\u0646\u06cc\u0645. \u0628\u0647 \u0639\u0628\u0627\u0631\u062a \u062f\u06cc\u06af\u0631 \u060c \u0645\u0627 \u06cc\u06a9 \u0641\u0636\u0627\u06cc \u06f7x7x32 \u0628\u064f\u0639\u062f\u06cc \u0631\u0627 \u06cc\u0627\u062f \u0645\u06cc \u06af\u06cc\u0631\u06cc\u0645 \u06a9\u0647 \u0628\u062f\u0648\u0646 \u0646\u0648\u06cc\u0632 \u0627\u0633\u062a.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-3\"><strong>\u06f3- \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-3\"><strong>\u06f1-\u06f3- \u0634\u0628\u06a9\u0647<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u0627\u06cc\u0646 \u062a\u0635\u0627\u0648\u06cc\u0631 \u062f\u0631\u0648\u0627\u0642\u0639 \u0645\u0627\u062a\u0631\u06cc\u0633 \u0647\u0627\u06cc\u06cc \u0628\u0627 \u0627\u0646\u062f\u0627\u0632\u0647 \u06f2\u06f8&#215;\u06f2\u06f8 \u0647\u0633\u062a\u0646\u062f. \u0645\u0627 \u062a\u0635\u0648\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 \u06f2\u06f8x28x1 \u062a\u063a\u06cc\u06cc\u0631 \u0634\u06a9\u0644 \u0645\u06cc \u062f\u0647\u06cc\u0645 \u060c \u062a\u0635\u0648\u06cc\u0631 \u0645\u0627\u062a\u0631\u06cc\u0633\u06cc \u0631\u0627 \u06a9\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0627\u0646\u062f\u0627\u0632\u0647 \u062f\u0627\u062f\u06cc\u0645 \u0628\u0647 \u06cc\u06a9 \u0622\u0631\u0627\u06cc\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u060c \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u067e\u06cc\u06a9\u0633\u0644 \u0647\u0627 \u0631\u0627 \u0628\u06cc\u0646 \u06f0 \u062a\u0627 \u06f1 \u0646\u0631\u0645\u0627\u0644 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0631\u0648\u062f\u06cc \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0648\u0627\u0631\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062a\u0635\u0648\u06cc\u0631 \u06f2\u06f8x28x1 \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u06f7x7x32 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u06a9\u0646\u062f. \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u062a\u0635\u0648\u06cc\u0631 \u06f7x7x32 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0646\u0642\u0637\u0647 \u062f\u0631 \u0641\u0636\u0627\u06cc \u06f1\u06f5\u06f6\u06f8 \u0628\u064f\u0639\u062f\u06cc (\u06f7x7x32 =1568) \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u0641\u0636\u0627\u06cc \u06f1\u06f5\u06f6\u06f8 \u0628\u064f\u0639\u062f\u06cc \u060c &#8220;\u06af\u0644\u0648\u06af\u0627\u0647&#8221; \u06cc\u0627 \u0641\u0636\u0627\u06cc \u067e\u0646\u0647\u0627\u0646 \u06af\u0641\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0645\u0639\u0645\u0627\u0631\u06cc \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u062f\u0631 \u0632\u06cc\u0631 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"192\" height=\"434\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u0639\u0645\u0627\u0631\u06cc-\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632.jpg\" alt=\"\u0645\u0639\u0645\u0627\u0631\u06cc \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632\" class=\"wp-image-12446\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u0639\u0645\u0627\u0631\u06cc-\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632.jpg 192w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u0639\u0645\u0627\u0631\u06cc-\u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632-133x300.jpg 133w\" sizes=\"(max-width: 192px) 100vw, 192px\" \/><figcaption>\u0645\u0639\u0645\u0627\u0631\u06cc \u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632<\/figcaption><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u0631\u0645\u0632\u06af\u0634\u0627 \u062f\u0642\u06cc\u0642\u0627\u064b \u0628\u0631\u0639\u06a9\u0633 \u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0639\u0645\u0644 \u0645\u06cc \u06a9\u0646\u062f. \u06cc\u0639\u0646\u06cc \u0628\u0631\u062f\u0627\u0631 \u06f1\u06f5\u06f6\u06f8 \u0628\u064f\u0639\u062f\u06cc \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u06f2\u06f8x28x1 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u06a9\u0646\u062f. \u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u062a\u0635\u0648\u06cc\u0631 \u062e\u0631\u0648\u062c\u06cc\u060c &#8220;\u0628\u0627\u0632\u0633\u0627\u0632\u06cc&#8221; \u062a\u0635\u0648\u06cc\u0631 \u0627\u0635\u0644\u06cc \u0645\u06cc \u06af\u0648\u06cc\u06cc\u0645. \u0633\u0627\u062e\u062a\u0627\u0631 \u0631\u0645\u0632\u06af\u0634\u0627\u06cc\u06cc \u062f\u0631 \u0632\u06cc\u0631 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"184\" height=\"453\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u0639\u0645\u0627\u0631\u06cc-\u0631\u0645\u0632-\u06af\u0634\u0627-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632.jpg\" alt=\"\u0645\u0639\u0645\u0627\u0631\u06cc \u0631\u0645\u0632 \u06af\u0634\u0627 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632\" class=\"wp-image-12447\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u0639\u0645\u0627\u0631\u06cc-\u0631\u0645\u0632-\u06af\u0634\u0627-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632.jpg 184w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0645\u0639\u0645\u0627\u0631\u06cc-\u0631\u0645\u0632-\u06af\u0634\u0627-\u062d\u0630\u0641-\u0646\u0648\u06cc\u0632-122x300.jpg 122w\" sizes=\"(max-width: 184px) 100vw, 184px\" \/><figcaption>\u0645\u0639\u0645\u0627\u0631\u06cc \u0631\u0645\u0632 \u06af\u0634\u0627 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632<\/figcaption><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u0628\u06cc\u0627\u06cc\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 tensorflow \u0628\u0647 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u06cc\u06a9 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u0628\u067e\u0631\u062f\u0627\u0632\u06cc\u0645.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-3\"><strong>\u06f2-\u06f3- \u0631\u0645\u0632\u06af\u0630\u0627\u0631<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u0644\u0627\u06cc\u0647 \u06a9\u0627\u0646\u0648\u0644\u0648\u0634\u0646 \u0648 \u062f\u0648 \u0644\u0627\u06cc\u0647 \u062d\u062f\u0627\u06a9\u062b\u0631 \u062a\u062c\u0645\u0639 \u0627\u0633\u062a. \u0647\u0631 \u062f\u0648 \u0644\u0627\u06cc\u0647 Convolution-1 \u0648 Convolution layer-2 \u062f\u0627\u0631\u0627\u06cc \u06f3\u06f2 \u0641\u06cc\u0644\u062a\u0631 \u06f3&#215;\u06f3 \u0647\u0633\u062a\u0646\u062f. \u062f\u0648 \u0644\u0627\u06cc\u0647 \u062d\u062f\u0627\u06a9\u062b\u0631 \u062a\u062c\u0645\u0639 \u0628\u0627 \u0627\u0646\u062f\u0627\u0632\u0647 \u06f2&#215;\u06f2 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">encoder = Sequential([\n    # convolution\n    Conv2D(\n        filters=32,\n        kernel_size=(3,3),\n        strides=(1,1),\n        padding='SAME',\n        use_bias=True,\n        activation=lrelu,\n        name='conv1'\n    ),\n    # the input size is 28x28x32\n    MaxPooling2D(\n        pool_size=(2,2),\n        strides=(2,2),\n        name='pool1'\n    ),\n    # the input size is 14x14x32\n    Conv2D(\n        filters=32,\n        kernel_size=(3,3),\n        strides=(1,1),\n        padding='SAME',\n        use_bias=True,\n        activation=lrelu,\n        name='conv2'\n    ),\n    # the input size is 14x14x32\n    MaxPooling2D(\n        pool_size=(2,2),\n        strides=(2,2),\n        name='encoding'\n    )\n    # the output size is 7x7x32\n])<\/pre>\n<p><\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"835\" height=\"112\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0628\u0644\u0648\u06a9-\u062f\u06cc\u0627\u06af\u0631\u0627\u0645-\u0631\u0645\u0632\u06af\u0630\u0627\u0631.png\" alt=\"\u0628\u0644\u0648\u06a9 \u062f\u06cc\u0627\u06af\u0631\u0627\u0645 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\" class=\"wp-image-12449\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0628\u0644\u0648\u06a9-\u062f\u06cc\u0627\u06af\u0631\u0627\u0645-\u0631\u0645\u0632\u06af\u0630\u0627\u0631.png 835w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0628\u0644\u0648\u06a9-\u062f\u06cc\u0627\u06af\u0631\u0627\u0645-\u0631\u0645\u0632\u06af\u0630\u0627\u0631-300x40.png 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0628\u0644\u0648\u06a9-\u062f\u06cc\u0627\u06af\u0631\u0627\u0645-\u0631\u0645\u0632\u06af\u0630\u0627\u0631-768x103.png 768w\" sizes=\"(max-width: 835px) 100vw, 835px\" \/><figcaption>\u0628\u0644\u0648\u06a9 \u062f\u06cc\u0627\u06af\u0631\u0627\u0645 \u0631\u0645\u0632\u06af\u0630\u0627\u0631<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-3\"><strong>\u06f3-\u06f3- \u0631\u0645\u0632\u06af\u0634\u0627<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u0631\u0645\u0632\u06af\u0634\u0627 \u062f\u0627\u0631\u0627\u06cc \u062f\u0648 \u0644\u0627\u06cc\u0647 Conv2d_transpose \u060c \u062f\u0648 \u0644\u0627\u06cc\u0647 Convolution \u0648 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc Sigmoid \u0627\u0633\u062a. Conv2d_transpose \u0628\u0631\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0641\u0632\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u062e\u0644\u0627\u0641 \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u06a9\u0627\u0646\u0648\u0644\u0648\u0634\u0646 \u0639\u0645\u0644 \u0645\u06cc \u06a9\u0646\u062f. \u0644\u0627\u06cc\u0647 Conv2d_transpose \u0647\u0631 \u0628\u0627\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0635\u0648\u06cc\u0631 \u0641\u0634\u0631\u062f\u0647 \u0634\u062f\u0647 \u0631\u0627 \u062f\u0648 \u0645\u0631\u062a\u0628\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0641\u0632\u0627\u06cc\u06cc \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">decoder = Sequential([\n    Conv2D(\n        filters=32,\n        kernel_size=(3,3),\n        strides=(1,1),\n        name='conv3',\n        padding='SAME',\n        use_bias=True,\n        activation=lrelu\n    ),\n    # updampling, the input size is 7x7x32\n    Conv2DTranspose(\n        filters=32,\n        kernel_size=3,\n        padding='same',\n        strides=2,\n        name='upsample1'\n    ),\n    # upsampling, the input size is 14x14x32\n    Conv2DTranspose(\n        filters=32,\n        kernel_size=3,\n        padding='same',\n        strides=2,\n        name='upsample2'\n    ),\n    # the input size is 28x28x32\n    Conv2D(\n        filters=1,\n        kernel_size=(3,3),\n        strides=(1,1),\n        name='logits',\n        padding='SAME',\n        use_bias=True\n    )    \n])<\/pre>\n<p><\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"709\" height=\"86\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0628\u0644\u0648\u06a9-\u062f\u06cc\u0627\u06af\u0631\u0627\u0645-\u0631\u0645\u0632\u06af\u0634\u0627.png\" alt=\"\u0628\u0644\u0648\u06a9 \u062f\u06cc\u0627\u06af\u0631\u0627\u0645 \u0631\u0645\u0632\u06af\u0634\u0627\" class=\"wp-image-12450\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0628\u0644\u0648\u06a9-\u062f\u06cc\u0627\u06af\u0631\u0627\u0645-\u0631\u0645\u0632\u06af\u0634\u0627.png 709w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0628\u0644\u0648\u06a9-\u062f\u06cc\u0627\u06af\u0631\u0627\u0645-\u0631\u0645\u0632\u06af\u0634\u0627-300x36.png 300w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><figcaption>\u0628\u0644\u0648\u06a9 \u062f\u06cc\u0627\u06af\u0631\u0627\u0645 \u0631\u0645\u0632\u06af\u0634\u0627<\/figcaption><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u06a9\u0644\u0627\u0633 \u0645\u062f\u0644 \u0631\u0645\u0632\u06af\u0630\u0627\u0631-\u0631\u0645\u0632\u06af\u0634\u0627\u06cc \u062d\u0627\u0635\u0644 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># model class definition\nclass EncoderDecoderModel(Model):\n    def __init__(self, is_sigmoid=False):\n        super(EncoderDecoderModel, self).__init__()\n        # assign encoder sequence\n        self._encoder = encoder\n        # assign decoder sequence \n        self._decoder = decoder\n        self._is_sigmoid = is_sigmoid\n        \n    # forward pass\n    def call(self, x):\n        x = self._encoder(x)\n        decoded = self._decoder(x)\n        if self._is_sigmoid:\n            decoded = tf.keras.activations.sigmoid(decoded)\n        return decoded<\/pre>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u060c \u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0627\u0628\u0639 \u0636\u0631\u0631 <a href=\"https:\/\/fa.wikipedia.org\/wiki\/%D8%A2%D9%86%D8%AA%D8%B1%D9%88%D9%BE%DB%8C_%D9%85%D8%AA%D9%82%D8%A7%D8%B7%D8%B9\" target=\"_blank\" rel=\"noopener\">cross-entropy<\/a> \u060c \u062a\u0644\u0641\u0627\u062a \u062e\u0631\u0648\u062c\u06cc \u0631\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0627\u0632 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632 <a href=\"https:\/\/machinelearningmastery.com\/adam-optimization-algorithm-for-deep-learning\/\" target=\"_blank\" rel=\"noopener\">Adam<\/a> \u0628\u0631\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u062a\u0627\u0628\u0639 \u0636\u0631\u0631 \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-4-3-relu-leaky-relu\"><strong>\u06f4-\u06f3- \u0686\u0631\u0627 \u0645\u0627 \u0628\u0647 \u062c\u0627\u06cc ReLU \u0627\u0632leaky ReLU &nbsp;\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062a\u0627\u0628\u0639 \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u061f<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u0645\u0627 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0627\u06cc\u0646 \u0647\u0633\u062a\u06cc\u0645 \u06a9\u0647 \u06af\u0631\u0627\u062f\u06cc\u0627\u0646 \u0647\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u067e\u0633 \u0627\u0646\u062a\u0634\u0627\u0631 \u062f\u0631 \u0634\u0628\u06a9\u0647 \u062c\u0631\u06cc\u0627\u0646 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u0646\u062f. \u0644\u0627\u06cc\u0647 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0647\u0627 \u0646\u0648\u0631\u0648\u0646 \u0647\u0627\u06cc\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u0645\u0642\u062f\u0627\u0631 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0622\u0646 \u0647\u0627 \u0628\u0647 \u0635\u0641\u0631 \u0645\u06cc \u0631\u0633\u062f \u06cc\u0627 \u0645\u0646\u0641\u06cc \u0645\u06cc \u0634\u0648\u062f. \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ReLU \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u060c \u0645\u0642\u0627\u062f\u06cc\u0631 \u0645\u0646\u0641\u06cc \u0631\u0627 \u0635\u0641\u0631 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u062f\u0631 \u067e\u0633 \u0627\u0646\u062a\u0634\u0627\u0631 \u060c \u06af\u0631\u0627\u062f\u06cc\u0627\u0646 \u0647\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0627\u06cc\u0646 \u0646\u0648\u0631\u0648\u0646 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0635\u0641\u0631 \u0645\u06cc \u0634\u0648\u0646\u062f \u060c \u0639\u0628\u0648\u0631 \u0646\u0645\u06cc \u06a9\u0646\u0646\u062f. \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0648\u0632\u0646 \u0647\u0627 \u0628\u0647 \u0631\u0648\u0632 \u0646\u0645\u06cc \u0634\u0648\u0646\u062f \u0648 \u0634\u0628\u06a9\u0647 \u0627\u0632 \u0622\u0646 \u0642\u0633\u0645\u062a \u0686\u06cc\u0632\u06cc \u06cc\u0627\u062f \u0646\u0645\u06cc \u06af\u06cc\u0631\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ReLU \u0647\u0645\u06cc\u0634\u0647 \u0627\u06cc\u062f\u0647 \u062e\u0648\u0628\u06cc \u0646\u06cc\u0633\u062a. \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644 \u060c \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0634\u0645\u0627 \u0647\u0645 \u0627\u0632 \u062a\u0627\u0628\u0639 \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc ReLU \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u062a\u0641\u0627\u0648\u062a \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># define leaky ReLU function\ndef lrelu(x, alpha=0.1):\n    return tf.math.maximum(alpha*x, x)<\/pre>\n<p style=\"text-align: justify\">\u0628\u0647 \u0647\u0645\u06cc\u0646 \u062e\u0627\u0637\u0631\u060c \u0645\u0627 \u0627\u0632 leaky ReLU \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0645\u0646\u0641\u06cc \u0631\u0627 \u0635\u0641\u0631 \u06a9\u0646\u062f \u060c \u0622\u0646 \u0647\u0627 \u0631\u0627 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0627\u0628\u0631\u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0622\u0644\u0641\u0627 \u0628\u0647 \u0645\u0642\u062f\u0627\u0631 \u0645\u0634\u062e\u0635\u06cc \u06a9\u0627\u0647\u0634 \u0645\u06cc \u062f\u0647\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0634\u0628\u06a9\u0647 \u062d\u062a\u06cc \u0627\u0632 \u067e\u06cc\u06a9\u0633\u0644 \u0647\u0627\u06cc \u0628\u0627 \u0645\u0642\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0635\u0641\u0631 \u0647\u0645 \u0686\u06cc\u0632\u06cc \u06cc\u0627\u062f \u0628\u06af\u06cc\u0631\u062f.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-5-3\"><strong>\u06f5-\u06f3- \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u067e\u0633 \u0627\u0632 \u062a\u0639\u0631\u06cc\u0641 \u0645\u0639\u0645\u0627\u0631\u06cc \u060c \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0631\u0627 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<p style=\"text-align: justify\">\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0632\u06cc\u0631 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u060c Tensorflow \u0628\u0647 \u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc MNIST \u0631\u0627 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u06a9\u0646\u06cc\u0645. \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u0648 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u062f\u0631 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc train_imgs \u0648 test_imgs \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0627\u0632 \u0622\u0646\u062c\u0627 \u06a9\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u062f\u0648\u0646 \u0646\u0638\u0627\u0631\u062a \u0627\u0633\u062a \u060c \u0646\u06cc\u0627\u0632\u06cc \u0628\u0631\u0686\u0633\u0628 \u06af\u0630\u0627\u0631\u06cc \u0646\u06cc\u0633\u062a.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># load mnist dataset\n(train_imgs, train_labels), (test_imgs, test_labels) = tf.keras.datasets.mnist.load_data()\n\n# fit image pixel values from 0 to 1\ntrain_imgs, test_imgs = train_imgs \/ 255.0, test_imgs \/ 255.0 <\/pre>\n<p><\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-6-3\"><strong>\u06f6-\u06f3- \u062a\u062c\u0632\u06cc\u0647 \u0648 \u062a\u062d\u0644\u06cc\u0644 \u062f\u0627\u062f\u0647 \u0647\u0627<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u0642\u0628\u0644 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u0634\u0628\u06a9\u0647 \u0639\u0635\u0628\u06cc \u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0647\u0645\u06cc\u0634\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f. \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0628\u0628\u06cc\u0646\u06cc\u0645 \u0686\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc\u06cc \u0631\u0627 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u062f\u0627\u0631\u06cc\u0645. \u062f\u0627\u062f\u0647 \u0647\u0627 \u0634\u0627\u0645\u0644 \u0627\u0639\u062f\u0627\u062f \u062f\u0633\u062a \u0646\u0648\u06cc\u0633 \u0627\u0632 \u06f0 \u062a\u0627 \u06f9 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0628\u0631\u0686\u0633\u0628 \u0647\u0627\u06cc \u0645\u062a\u0646\u0627\u0633\u0628 \u0647\u0633\u062a\u0646\u062f. \u0627\u06cc\u0646 \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u0631\u0627\u06cc \u06f5\u06f5\u06f0\u06f0\u06f0 \u0646\u0645\u0648\u0646\u0647 \u0622\u0645\u0648\u0632\u0634\u06cc \u0648 \u06f1\u06f0\u06f0\u06f0\u06f0 \u0646\u0645\u0648\u0646\u0647 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0633\u062a. \u0647\u0631 \u0646\u0645\u0648\u0646\u0647 \u060c \u062a\u0635\u0648\u06cc\u0631\u06cc \u0628\u0627 \u0645\u0642\u06cc\u0627\u0633 \u062e\u0627\u06a9\u0633\u062a\u0631\u06cc \u0628\u0647 \u0627\u0628\u0639\u0627\u062f \u06f2\u06f8 \u00d7 \u06f2\u06f8 \u0627\u0633\u062a. \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u0646\u06af\u0627\u0647\u06cc \u0628\u0647 \u062c\u0632\u0626\u06cc\u0627\u062a \u062f\u0627\u062f\u0647 \u0647\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># check data array shapes:\nprint(\"Size of train images: {}, Number of train images: {}\".format(train_imgs.shape[-2:], train_imgs.shape[0]))\nprint(\"Size of test images: {}, Number of test images: {}\".format(test_imgs.shape[-2:], test_imgs.shape[0]))<\/pre>\n<p><strong>\u062e\u0631\u0648\u062c\u06cc:<\/strong><\/p>\n<pre>Size of train images: (28, 28), Number of train images: 60000\nSize of test images: (28, 28), Number of test images: 10000<\/pre>\n<p>\u0646\u0645\u0627\u06cc\u0634 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0622\u0645\u0648\u0632\u0634\u06cc \u0648 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># plot image example from training images\nplt.imshow(train_imgs[1], cmap='Greys')\nplt.show()\n\n# plot image example from test images\nplt.imshow(test_imgs[0], cmap='Greys')\nplt.show()\nplt.close()<\/pre>\n<p><strong>\u062e\u0631\u0648\u062c\u06cc:<\/strong><\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"249\" height=\"505\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0622\u0645\u0648\u0632\u0634-\u0648-\u062a\u0633\u062a-\u062a\u0635\u0627\u0648\u06cc\u0631-MNIST.png\" alt=\"\u0622\u0645\u0648\u0632\u0634 \u0648 \u062a\u0633\u062a \u062a\u0635\u0627\u0648\u06cc\u0631 MNIST\" class=\"wp-image-12453\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0622\u0645\u0648\u0632\u0634-\u0648-\u062a\u0633\u062a-\u062a\u0635\u0627\u0648\u06cc\u0631-MNIST.png 249w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0622\u0645\u0648\u0632\u0634-\u0648-\u062a\u0633\u062a-\u062a\u0635\u0627\u0648\u06cc\u0631-MNIST-148x300.png 148w\" sizes=\"(max-width: 249px) 100vw, 249px\" \/><figcaption>\u0622\u0645\u0648\u0632\u0634 \u0648 \u062a\u0633\u062a \u062a\u0635\u0627\u0648\u06cc\u0631 MNIST<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-7-3\"><strong>\u06f7-\u06f3- \u067e\u06cc\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0627\u062f\u0647 \u0647\u0627<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u062a\u0635\u0627\u0648\u06cc\u0631 \u062f\u0631 \u0645\u0642\u06cc\u0627\u0633 \u062e\u0627\u06a9\u0633\u062a\u0631\u06cc \u0647\u0633\u062a\u0646\u062f \u0648 \u0645\u0642\u0627\u062f\u06cc\u0631 \u067e\u06cc\u06a9\u0633\u0644 \u0627\u0632 \u06f0 \u062a\u0627 \u06f2\u06f5\u06f5 \u0627\u0633\u062a. \u0645\u0627 \u067e\u06cc\u0634 \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u0642\u0628\u0644 \u0627\u0632 \u0648\u0631\u0648\u062f \u0622\u0646 \u0647\u0627 \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u06cc\u0645.<\/p>\n<p>\u06f1\u066b \u0628\u064f\u0639\u062f \u062c\u062f\u06cc\u062f\u06cc \u0631\u0627 \u0628\u0647 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0622\u0645\u0648\u0632\u0634\u06cc \u0648 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u060c \u062a\u0627 \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0648\u0627\u0631\u062f \u0634\u0648\u0646\u062f.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># prepare training reference images: add new dimension\ntrain_imgs_data = train_imgs[..., tf.newaxis]\n\n# prepare test reference images: add new dimension\ntest_imgs_data = test_imgs[..., tf.newaxis]<\/pre>\n<p>\u06f2\u066b \u0646\u0648\u06cc\u0632 \u0631\u0627 \u0647\u0645 \u0628\u0647 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0622\u0645\u0648\u0632\u0634\u06cc \u0648 \u0647\u0645 \u0628\u0647 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0633\u067e\u0633 \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0648\u0627\u0631\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0641\u0627\u06a9\u062a\u0648\u0631 \u0646\u0648\u06cc\u0632 \u060c \u06cc\u06a9 \u0627\u0628\u0631\u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0627\u0633\u062a \u0648 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0622\u0646 \u0631\u0627 \u0628\u0637\u0648\u0631 \u0645\u062a\u0646\u0627\u0633\u0628 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># add noise to the images for train and test cases\ndef distort_image(input_imgs, noise_factor=0.5):\n    noisy_imgs = input_imgs + noise_factor * np.random.normal(loc=0.0, scale=1.0, size=input_imgs.shape) \n    noisy_imgs = np.clip(noisy_imgs, 0., 1.)\n    return noisy_imgs\n\n# prepare distorted input data for training\ntrain_noisy_imgs = distort_image(train_imgs_data)\n\n# prepare distorted input data for evaluation\ntest_noisy_imgs = distort_image(test_imgs_data)<\/pre>\n<p>\u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u062a\u0635\u0627\u0648\u06cc\u0631 \u0646\u0648\u06cc\u0632\u06cc \u0631\u0627 \u0646\u0634\u0627\u0646 \u062f\u0647\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># plot distorted image example from training images\nimage_id_to_plot = 0\nplt.imshow(tf.squeeze(train_noisy_imgs[image_id_to_plot]), cmap='Greys')\nplt.title(\"The number is: {}\".format(train_labels[image_id_to_plot]))\nplt.show()\n\n# plot distorted image example from test images\nplt.imshow(tf.squeeze(test_noisy_imgs[image_id_to_plot]), cmap='Greys')\nplt.title(\"The number is: {}\".format(test_labels[image_id_to_plot]))\nplt.show()\nplt.close()<\/pre>\n<p><strong>\u062e\u0631\u0648\u062c\u06cc:<\/strong><\/p>\n<p><\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"246\" height=\"534\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0622\u0645\u0648\u0632\u0634-\u0648-\u062a\u0633\u062a-\u062a\u0635\u0627\u0648\u06cc\u0631-\u0646\u0648\u06cc\u0632-\u062f\u0627\u0631-MNIST.png\" alt=\"\u0622\u0645\u0648\u0632\u0634 \u0648 \u062a\u0633\u062a \u062a\u0635\u0627\u0648\u06cc\u0631 \u0646\u0648\u06cc\u0632 \u062f\u0627\u0631 MNIST\" class=\"wp-image-12455\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0622\u0645\u0648\u0632\u0634-\u0648-\u062a\u0633\u062a-\u062a\u0635\u0627\u0648\u06cc\u0631-\u0646\u0648\u06cc\u0632-\u062f\u0627\u0631-MNIST.png 246w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0622\u0645\u0648\u0632\u0634-\u0648-\u062a\u0633\u062a-\u062a\u0635\u0627\u0648\u06cc\u0631-\u0646\u0648\u06cc\u0632-\u062f\u0627\u0631-MNIST-138x300.png 138w\" sizes=\"(max-width: 246px) 100vw, 246px\" \/><figcaption>\u0622\u0645\u0648\u0632\u0634 \u0648 \u062a\u0633\u062a \u062a\u0635\u0627\u0648\u06cc\u0631 \u0646\u0648\u06cc\u0632 \u062f\u0627\u0631 MNIST<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-8-3\"><strong>\u06f8-\u06f3- \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0631\u0632\u06cc\u0627\u0628\u06cc \u0645\u062f\u0644<\/strong><\/h3>\n\n\n<p style=\"text-align: justify\">\u0634\u0628\u06a9\u0647 \u0622\u0645\u0627\u062f\u0647 \u0622\u0645\u0648\u0632\u0634 \u0627\u0633\u062a. \u062a\u0639\u062f\u0627\u062f \u062f\u0648\u0631\u0647 \u0647\u0627 \u0631\u0627 \u06f2\u06f5 \u062f\u0648\u0631\u0647 \u0628\u0627 \u0627\u0646\u062f\u0627\u0632\u0647 \u062f\u0633\u062a\u0647 \u0627\u06cc \u06f6\u06f4 \u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u06cc\u0639\u0646\u06cc \u062f\u0631 \u062d\u0627\u0644\u062a \u06a9\u0644\u06cc \u060c \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u060c \u06f2\u06f5 \u0628\u0627\u0631 \u0648\u0627\u0631\u062f \u0634\u0628\u06a9\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0645\u0627 \u0628\u0631\u0627\u06cc \u0627\u0639\u062a\u0628\u0627\u0631 \u0633\u0646\u062c\u06cc \u0627\u0632 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># define custom target function for further minimization\ndef cost_function(labels=None, logits=None, name=None):\n    loss = tf.nn.sigmoid_cross_entropy_with_logits(labels=labels, logits=logits, name=name)\n    return tf.reduce_mean(loss)\n\n# init the model\nencoder_decoder_model = EncoderDecoderModel()\n\n# training loop params\nnum_epochs = 25\nbatch_size_to_set = 64\n\n# training process params\nlearning_rate = 1e-5\n# default number of workers for training process\nnum_workers = 2\n\n# initialize the training configurations such as optimizer, loss function and accuracy metrics\nencoder_decoder_model.compile(optimizer=tf.compat.v1.train.AdamOptimizer(learning_rate=learning_rate),loss=cost_function,metrics=None)\n\nresults = encoder_decoder_model.fit(\n    train_noisy_imgs,\n    train_imgs_data,\n    epochs=num_epochs,\n    batch_size=batch_size_to_set,\n    validation_data=(test_noisy_imgs, test_imgs_data),\n    workers=num_workers,\n    shuffle=True\n)<\/pre>\n<p style=\"text-align: justify\">\u0628\u0639\u062f \u0627\u0632 \u06f2\u06f5 \u062f\u0648\u0631\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u062a\u0644\u0641\u0627\u062a \u0622\u0645\u0648\u0632\u0634\u06cc \u062e\u0648\u062f \u0631\u0627 \u0628\u0628\u06cc\u0646\u06cc\u0645 \u0648 \u0647\u0645\u06cc\u0646\u0637\u0648\u0631 \u062a\u0644\u0641\u0627\u062a \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u06a9\u0647 \u0628\u0633\u06cc\u0627\u0631 \u06a9\u0645 \u0627\u0633\u062a \u060c \u0627\u06cc\u0646 \u0628\u062f\u0627\u0646 \u0645\u0639\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0634\u0628\u06a9\u0647 \u0645\u0627 \u0639\u0645\u0644\u06a9\u0631\u062f \u0628\u0633\u06cc\u0627\u0631 \u062e\u0648\u0628\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u0647 \u0627\u0633\u062a. \u062d\u0627\u0644 \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0646\u0645\u0648\u062f\u0627\u0631 \u062a\u0644\u0641\u0627\u062a \u0631\u0648\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0627\u0628\u0639 \u0645\u0637\u0644\u0648\u0628\u06cc\u062a (plot_losses) \u0645\u0639\u0631\u0641\u06cc \u06a9\u0646\u06cc\u0645 :<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-9-3\"><strong>\u06f9-\u06f3- \u0645\u0642\u0627\u06cc\u0633\u0647 \u0636\u0631\u0631 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc<\/strong><\/h3>\n\n\n<p>\u0645\u0627 \u062a\u0627\u0628\u0639 \u0645\u0637\u0644\u0648\u0628\u06cc\u062a \u0631\u0627 \u0628\u0631\u0627\u06cc \u0631\u0633\u0645 \u062a\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\"># funstion for train and val losses visualizations\ndef plot_losses(results):\n    plt.plot(results.history['loss'], 'bo', label='Training loss')\n    plt.plot(results.history['val_loss'], 'r', label='Validation loss')\n    plt.title('Training and validation loss',fontsize=14)\n    plt.xlabel('Epochs ',fontsize=14)\n    plt.ylabel('Loss',fontsize=14)\n    plt.legend()\n    plt.show()\n    plt.close()\n\n# visualize train and val losses\nplot_losses(results)<\/pre>\n<p><strong>\u0646\u062a\u06cc\u062c\u0647 :<\/strong><\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"385\" height=\"280\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0646\u0645\u0648\u062f\u0627\u0631-\u0636\u0631\u0631-\u0622\u0645\u0648\u0632\u0634-\u0648-\u0627\u0631\u0632\u06cc\u0627\u0628\u06cc.png\" alt=\"\u0646\u0645\u0648\u062f\u0627\u0631 \u0636\u0631\u0631 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0631\u0632\u06cc\u0627\u0628\u06cc\" class=\"wp-image-12456\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0646\u0645\u0648\u062f\u0627\u0631-\u0636\u0631\u0631-\u0622\u0645\u0648\u0632\u0634-\u0648-\u0627\u0631\u0632\u06cc\u0627\u0628\u06cc.png 385w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u0646\u0645\u0648\u062f\u0627\u0631-\u0636\u0631\u0631-\u0622\u0645\u0648\u0632\u0634-\u0648-\u0627\u0631\u0632\u06cc\u0627\u0628\u06cc-300x218.png 300w\" sizes=\"(max-width: 385px) 100vw, 385px\" \/><figcaption>\u0646\u0645\u0648\u062f\u0627\u0631 \u0636\u0631\u0631 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0627\u0631\u0632\u06cc\u0627\u0628\u06cc<\/figcaption><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u0627\u0632 \u0634\u06a9\u0644 \u0641\u0648\u0642 \u060c \u0645\u06cc \u062a\u0648\u0627\u0646 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0631\u062f \u06a9\u0647 \u062a\u0644\u0641\u0627\u062a \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0648 \u0622\u0645\u0648\u0632\u0634\u06cc \u0647\u0631 \u062f\u0648 \u0628\u0637\u0648\u0631 \u067e\u06cc\u0648\u0633\u062a\u0647 \u062f\u0631 \u06f1\u06f0 \u062f\u0648\u0631\u0647 \u0627\u0648\u0644 \u0631\u0648 \u0628\u0647 \u06a9\u0627\u0647\u0634 \u0647\u0633\u062a\u0646\u062f. \u0627\u06cc\u0646 \u062a\u0644\u0641\u0627\u062a \u0622\u0645\u0648\u0632\u0634\u06cc \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0633\u06cc\u0627\u0631 \u0628\u0647 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0646\u0632\u062f\u06cc\u06a9 \u0647\u0633\u062a\u0646\u062f. \u0627\u06cc\u0646 \u0646\u0634\u0627\u0646\u06af\u0631 \u0622\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0645\u062f\u0644 \u0645\u0627 \u0628\u0647 \u062e\u0648\u0628\u06cc \u0631\u0648\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u062c\u062f\u06cc\u062f \u062a\u0639\u0645\u06cc\u0645 \u06cc\u0627\u0641\u062a\u0647 \u0627\u0633\u062a.<\/p>\n<p style=\"text-align: justify;\">\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0639\u062a\u0628\u0627\u0631 \u0646\u062a\u0627\u06cc\u062c \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0627\u0635\u0644\u06cc \u060c \u0646\u0648\u06cc\u0632\u06cc \u0648 \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u060c \u0627\u0641\u0632\u0627\u06cc\u0634 \u062f\u0647\u06cc\u0645.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-10-3\"><strong>\u06f1\u06f0-\u06f3- \u0646\u062a\u06cc\u062c\u0647<\/strong><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"814\" height=\"353\" src=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u062a\u0635\u0627\u0648\u06cc\u0631-MNIST-\u062f\u0631-\u0645\u0631\u0627\u062d\u0644-\u0645\u062e\u062a\u0644\u0641.jpg\" alt=\"\u062a\u0635\u0627\u0648\u06cc\u0631 MNIST \u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0645\u062e\u062a\u0644\u0641\" class=\"wp-image-12457\" title=\"\" srcset=\"https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u062a\u0635\u0627\u0648\u06cc\u0631-MNIST-\u062f\u0631-\u0645\u0631\u0627\u062d\u0644-\u0645\u062e\u062a\u0644\u0641.jpg 814w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u062a\u0635\u0627\u0648\u06cc\u0631-MNIST-\u062f\u0631-\u0645\u0631\u0627\u062d\u0644-\u0645\u062e\u062a\u0644\u0641-300x130.jpg 300w, https:\/\/shahaab-co.com\/mag\/wp-content\/uploads\/2021\/08\/\u062a\u0635\u0627\u0648\u06cc\u0631-MNIST-\u062f\u0631-\u0645\u0631\u0627\u062d\u0644-\u0645\u062e\u062a\u0644\u0641-768x333.jpg 768w\" sizes=\"(max-width: 814px) 100vw, 814px\" \/><figcaption>\u062a\u0635\u0627\u0648\u06cc\u0631 MNIST \u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0645\u062e\u062a\u0644\u0641<\/figcaption><\/figure><\/div>\n\n\n<p style=\"text-align: justify;\">\u0627\u0632 \u0634\u06a9\u0644 \u0647\u0627\u06cc \u0628\u0627\u0644\u0627 \u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0645\u062f\u0644 \u0645\u0627\u060c \u062f\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0646\u0648\u06cc\u0632\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u062f\u0644 \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0628\u0648\u062f\u06cc\u0645 \u060c \u0639\u0645\u0644\u06a9\u0631\u062f \u062e\u0648\u0628\u06cc \u062f\u0627\u0634\u062a\u0647 \u0627\u0633\u062a.<\/p>\n<h4><strong>\u0628\u06cc\u0634\u062a\u0631 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f :<\/strong><\/h4>\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\/artificial-neural-network-applications\/\">\u06a9\u0627\u0631\u0628\u0631\u062f \u0647\u0627\u06cc \u0634\u0628\u06a9\u0647 \u0639\u0635\u0628\u06cc \u0645\u0635\u0646\u0648\u0639\u06cc &#8211; \u06f4 \u06a9\u0627\u0631\u0628\u0631\u062f ANN \u0647\u0627 \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc<\/a><\/li><li><a href=\"https:\/\/shahaab-co.com\/mag\/edu\/machine-vision\/image-segmentation-part-one\/\">\u0646\u0627\u062d\u06cc\u0647 \u0628\u0646\u062f\u06cc \u062a\u0635\u0648\u06cc\u0631 &#8211; \u0642\u0633\u0645\u062a \u0627\u0648\u0644<\/a><\/li><li><a href=\"https:\/\/shahaab-co.com\/mag\/edu\/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\/en-articles\/activation-functions-in-deep-learning\/\">Activation Functions in Deep Learning<\/a><\/li><li><a href=\"https:\/\/shahaab-co.com\/mag\/news\/new-ai-imaging-technique-reconstructs-photos-with-realistic-results\/\">\u062a\u06a9\u0646\u06cc\u06a9 \u0628\u0627\u0632\u0633\u0627\u0632\u06cc \u062a\u0635\u0627\u0648\u06cc\u0631 \u062a\u0648\u0633\u0637 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0628\u0627 \u0646\u062a\u0627\u06cc\u062c \u0648\u0627\u0642\u0639\u06cc<\/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:\/\/learnopencv.com\/understanding-autoencoders-using-tensorflow-python\/\" target=\"_blank\" class=\"shortc-button small gray \" rel=\"noopener\">Learn OpenCV<\/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;12374&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;\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 Autoencoder \u0647\u0627 \u062f\u0631 Tensorflow \u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632&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>\u062f\u0631 \u067e\u0633\u062a \u0642\u0628\u0644\u06cc \u0628\u0647 \u062f\u0631\u06a9 \u0634\u0628\u06a9\u0647 \u0639\u0635\u0628\u06cc \u067e\u06cc\u0634\u062e\u0648\u0631 \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u060c \u0628\u0627 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 ( Autoencoder ) \u0647\u0627 \u062f\u0631 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0639\u0645\u06cc\u0642 \u0622\u0634\u0646\u0627 \u062e\u0648\u0627\u0647\u06cc\u0645 \u0634\u062f. \u0645\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u06cc\u06a9 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u0639\u0645\u0644\u06cc \u0627\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u062e\u0648\u062f\u0631\u0645\u0632\u06af\u0630\u0627\u0631 \u062d\u0630\u0641 \u0646\u0648\u06cc\u0632 \u062f\u0631 \u0645\u062c\u0645\u0648\u0639\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0627\u0631\u0642\u0627\u0645 \u062f\u0633\u062a \u0646\u0648\u06cc\u0633 MNIST \u0631\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f. \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646 &hellip;<\/p>\n","protected":false},"author":17,"featured_media":12462,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,18],"tags":[147,97,101,86],"class_list":["post-12374","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-deep-learning","category-edu","tag-147","tag-97","tag-101","tag-86"],"_links":{"self":[{"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/posts\/12374","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/comments?post=12374"}],"version-history":[{"count":1,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/posts\/12374\/revisions"}],"predecessor-version":[{"id":16181,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/posts\/12374\/revisions\/16181"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/media\/12462"}],"wp:attachment":[{"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/media?parent=12374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/categories?post=12374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shahaab-co.com\/mag\/wp-json\/wp\/v2\/tags?post=12374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}