{"id":1831,"date":"2025-02-17T21:39:17","date_gmt":"2025-02-17T13:39:17","guid":{"rendered":"https:\/\/www.forillusion.com\/?p=1831"},"modified":"2025-02-17T21:39:19","modified_gmt":"2025-02-17T13:39:19","slug":"5-2-padding-and-strides","status":"publish","type":"post","link":"https:\/\/www.forillusion.com\/index.php\/5-2-padding-and-strides\/","title":{"rendered":"5.2 \u586b\u5145\u548c\u6b65\u5e45"},"content":{"rendered":"\n<p><div class=\"has-toc have-toc\"><\/div><\/p>\n\n\n\n<p>\u5047\u8bbe\u8f93\u5165\u5f62\u72b6\u662f$n_h\\times n_w$\uff0c\u5377\u79ef\u6838\u7a97\u53e3\u5f62\u72b6\u662f$k_h\\times k_w$\uff0c\u90a3\u4e48\u8f93\u51fa\u5f62\u72b6\u5c06\u4f1a\u662f<\/p>\n\n\n\n<p>$$<br>(n_h-k_h+1) \\times (n_w-k_w+1).<br>$$<\/p>\n\n\n\n<p>\u6240\u4ee5\u5377\u79ef\u5c42\u7684\u8f93\u51fa\u5f62\u72b6\u7531\u8f93\u5165\u5f62\u72b6\u548c\u5377\u79ef\u6838\u7a97\u53e3\u5f62\u72b6\u51b3\u5b9a\u3002\u5377\u79ef\u5c42\u6709\u4e24\u4e2a\u8d85\u53c2\u6570\uff0c\u5373\u586b\u5145\u548c\u6b65\u5e45\u3002\u5b83\u4eec\u53ef\u4ee5\u5bf9\u7ed9\u5b9a\u5f62\u72b6\u7684\u8f93\u5165\u548c\u5377\u79ef\u6838\u6539\u53d8\u8f93\u51fa\u5f62\u72b6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u586b\u5145<\/h2>\n\n\n\n<p>\u586b\u5145\uff08padding\uff09\u662f\u6307\u5728\u8f93\u5165\u9ad8\u548c\u5bbd\u7684\u4e24\u4fa7\u586b\u5145\u5143\u7d20\uff08\u901a\u5e38\u662f0\u5143\u7d20\uff09\u3002\u4e0b\u56fe\u91cc\u5728\u539f\u8f93\u5165\u9ad8\u548c\u5bbd\u7684\u4e24\u4fa7\u5206\u522b\u6dfb\u52a0\u4e86\u503c\u4e3a0\u7684\u5143\u7d20\uff0c\u4f7f\u5f97\u8f93\u5165\u9ad8\u548c\u5bbd\u4ece3\u53d8\u6210\u4e865\uff0c\u5e76\u5bfc\u81f4\u8f93\u51fa\u9ad8\u548c\u5bbd\u75312\u589e\u52a0\u52304\u3002\u56fe\u4e2d\u7684\u9634\u5f71\u90e8\u5206\u4e3a\u7b2c\u4e00\u4e2a\u8f93\u51fa\u5143\u7d20\u53ca\u5176\u8ba1\u7b97\u6240\u4f7f\u7528\u7684\u8f93\u5165\u548c\u6838\u6570\u7ec4\u5143\u7d20\uff1a$0\\times0+0\\times1+0\\times2+0\\times3=0$\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/cos.forillusion.top\/wp-content\/uploads\/2025\/02\/5.2_conv_pad.png\" src=\"https:\/\/cdn.forillusion.com\/moezx\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\"\/><\/figure >\n<noscript><img decoding=\"async\" src=\"https:\/\/cos.forillusion.top\/wp-content\/uploads\/2025\/02\/5.2_conv_pad.png\" alt=\"\"\/><\/figure><\/noscript>\n\n\n\n<p>\u4e00\u822c\u6765\u8bf4\uff0c\u5982\u679c\u5728\u9ad8\u7684\u4e24\u4fa7\u4e00\u5171\u586b\u5145$p_h$\u884c\uff0c\u5728\u5bbd\u7684\u4e24\u4fa7\u4e00\u5171\u586b\u5145$p_w$\u5217\uff0c\u90a3\u4e48\u8f93\u51fa\u5f62\u72b6\u5c06\u4f1a\u662f<\/p>\n\n\n\n<p>$$<br>(n_h-k_h+p_h+1)\\times(n_w-k_w+p_w+1),<br>$$<\/p>\n\n\n\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u8f93\u51fa\u7684\u9ad8\u548c\u5bbd\u4f1a\u5206\u522b\u589e\u52a0$p_h$\u548c$p_w$\u3002<\/p>\n\n\n\n<p>\u5728\u5f88\u591a\u60c5\u51b5\u4e0b\uff0c\u4f1a\u8bbe\u7f6e$p_h=k_h-1$\u548c$p_w=k_w-1$\u6765\u4f7f\u8f93\u5165\u548c\u8f93\u51fa\u5177\u6709\u76f8\u540c\u7684\u9ad8\u548c\u5bbd\u3002\u8fd9\u6837\u4f1a\u65b9\u4fbf\u5728\u6784\u9020\u7f51\u7edc\u65f6\u63a8\u6d4b\u6bcf\u4e2a\u5c42\u7684\u8f93\u51fa\u5f62\u72b6\u3002\u5047\u8bbe\u8fd9\u91cc$k_h$\u662f\u5947\u6570\uff0c\u4f1a\u5728\u9ad8\u7684\u4e24\u4fa7\u5206\u522b\u586b\u5145$p_h\/2$\u884c\u3002\u5982\u679c$k_h$\u662f\u5076\u6570\uff0c\u4e00\u79cd\u53ef\u80fd\u662f\u5728\u8f93\u5165\u7684\u9876\u7aef\u4e00\u4fa7\u586b\u5145$\\lceil p_h\/2\\rceil$\u884c\uff0c\u800c\u5728\u5e95\u7aef\u4e00\u4fa7\u586b\u5145$\\lfloor p_h\/2\\rfloor$\u884c\u3002\u5728\u5bbd\u7684\u4e24\u4fa7\u586b\u5145\u540c\u7406\u3002<\/p>\n\n\n\n<p>\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\u7ecf\u5e38\u4f7f\u7528\u5947\u6570\u9ad8\u5bbd\u7684\u5377\u79ef\u6838\uff0c\u59821\u30013\u30015\u548c7\uff0c\u6240\u4ee5\u4e24\u7aef\u4e0a\u7684\u586b\u5145\u4e2a\u6570\u76f8\u7b49\u3002\u5bf9\u4efb\u610f\u7684\u4e8c\u7ef4\u6570\u7ec4<code>X<\/code>\uff0c\u8bbe\u5b83\u7684\u7b2c<code>i<\/code>\u884c\u7b2c<code>j<\/code>\u5217\u7684\u5143\u7d20\u4e3a<code>X[i,j]<\/code>\u3002\u5f53\u4e24\u7aef\u4e0a\u7684\u586b\u5145\u4e2a\u6570\u76f8\u7b49\uff0c\u5e76\u4f7f\u8f93\u5165\u548c\u8f93\u51fa\u5177\u6709\u76f8\u540c\u7684\u9ad8\u548c\u5bbd\u65f6\uff0c\u5c31\u77e5\u9053\u8f93\u51fa<code>Y[i,j]<\/code>\u662f\u7531\u8f93\u5165\u4ee5<code>X[i,j]<\/code>\u4e3a\u4e2d\u5fc3\u7684\u7a97\u53e3\u540c\u5377\u79ef\u6838\u8fdb\u884c\u4e92\u76f8\u5173\u8ba1\u7b97\u5f97\u5230\u7684\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u7684\u4f8b\u5b50\u91cc\u521b\u5efa\u4e00\u4e2a\u9ad8\u548c\u5bbd\u4e3a3\u7684\u4e8c\u7ef4\u5377\u79ef\u5c42\uff0c\u7136\u540e\u8bbe\u8f93\u5165\u9ad8\u548c\u5bbd\u4e24\u4fa7\u7684\u586b\u5145\u6570\u5206\u522b\u4e3a1\u3002\u7ed9\u5b9a\u4e00\u4e2a\u9ad8\u548c\u5bbd\u4e3a8\u7684\u8f93\u5165\uff0c\u53d1\u73b0\u8f93\u51fa\u7684\u9ad8\u548c\u5bbd\u4e5f\u662f8\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import torch\nfrom torch import nn\n\n# \u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u6765\u8ba1\u7b97\u5377\u79ef\u5c42\u3002\u5b83\u5bf9\u8f93\u5165\u548c\u8f93\u51fa\u505a\u76f8\u5e94\u7684\u5347\u7ef4\u548c\u964d\u7ef4\ndef comp_conv2d(conv2d, X):\n    # (1, 1)\u4ee3\u8868\u6279\u91cf\u5927\u5c0f\u548c\u901a\u9053\u6570\u5747\u4e3a1\n    X = X.view((1, 1) + X.shape)\n    Y = conv2d(X)\n    return Y.view(Y.shape&#91;2:])  # \u6392\u9664\u4e0d\u5173\u5fc3\u7684\u524d\u4e24\u7ef4\uff1a\u6279\u91cf\u548c\u901a\u9053\n\n# \u6ce8\u610f\u8fd9\u91cc\u662f\u4e24\u4fa7\u5206\u522b\u586b\u51451\u884c\u6216\u5217\uff0c\u6240\u4ee5\u5728\u4e24\u4fa7\u4e00\u5171\u586b\u51452\u884c\u6216\u5217\nconv2d = nn.Conv2d(in_channels=1, out_channels=1, kernel_size=3, padding=1)\n\nX = torch.rand(8, 8)\ncomp_conv2d(conv2d, X).shape<\/code><\/pre>\n\n\n\n<p><strong>\u5347\u7ef4\u64cd\u4f5c\uff1a<\/strong>\u200b<code>X.shape<\/code> \u5047\u8bbe\u4e3a <code>(8, 8)<\/code>\uff0c\u5373\u8f93\u5165\u5f20\u91cf\u662f\u4e00\u4e2a\u4e8c\u7ef4\u6570\u7ec4\u3002<code>view<\/code> \u65b9\u6cd5\u7528\u4e8e\u91cd\u5851\u5f20\u91cf\u7684\u5f62\u72b6\u3002<code>(1, 1) + X.shape<\/code> \u8868\u793a\u5728\u5f20\u91cf\u524d\u9762\u6dfb\u52a0\u4e24\u4e2a\u7ef4\u5ea6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7b2c\u4e00\u4e2a <code>1<\/code> \u8868\u793a\u6279\u91cf\u5927\u5c0f\uff08batch size\uff09\uff0c\u5373\u4e00\u6b21\u5904\u7406\u4e00\u4e2a\u6837\u672c\u3002<\/li>\n\n\n\n<li>\u7b2c\u4e8c\u4e2a <code>1<\/code> \u8868\u793a\u901a\u9053\u6570\uff08channel number\uff09\uff0c\u5373\u8f93\u5165\u6570\u636e\u53ea\u6709\u4e00\u4e2a\u901a\u9053\uff08\u7070\u5ea6\u56fe\u50cf\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u6700\u7ec8\uff0c<code>X<\/code> \u7684\u5f62\u72b6\u4ece <code>(8, 8)<\/code> \u53d8\u4e3a <code>(1, 1, 8, 8)<\/code>\uff0c\u7b26\u5408\u5377\u79ef\u5c42\u7684\u8f93\u5165\u8981\u6c42\uff08<code>[batch_size, channels, height, width]<\/code>\uff09\u3002<\/p>\n\n\n\n<p><strong>\u964d\u7ef4\u64cd\u4f5c\uff1a<\/strong> \u5377\u79ef\u5c42\u7684\u8f93\u51fa <code>Y<\/code> \u7684 \u5f62\u72b6\u901a\u5e38\u4e3a <code>[batch_size, channels, height, width]<\/code>\u3002\u8fd9\u91cc\u901a\u8fc7 <code>Y.view(Y.shape[2:])<\/code> \u53bb\u6389\u4e86\u524d\u4e24\u7ef4\uff08\u6279\u91cf\u5927\u5c0f\u548c\u901a\u9053\u6570\uff09\uff0c\u53ea\u4fdd\u7559\u7a7a\u95f4\u7ef4 \u5ea6\uff08\u9ad8\u5ea6\u548c\u5bbd\u5ea6\uff09\u3002<\/p>\n\n\n\n<p><strong>\u5b9a\u4e49\u4e8c\u7ef4\u5377\u79ef\u5c42\uff1a<\/strong> <code>nn.Conv2d<\/code>\uff0c\u5176\u53c2\u6570\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>in_channels=1<\/code>: \u8f93\u5165\u5f20\u91cf\u7684\u901a\u9053\u6570\u4e3a 1\uff08\u4f8b\u5982\u7070\u5ea6\u56fe\u50cf\uff09\u3002<\/li>\n\n\n\n<li><code>out_channels=1<\/code>: \u8f93\u51fa\u5f20\u91cf\u7684\u901a\u9053\u6570\u4e3a 1\u3002<\/li>\n\n\n\n<li><code>kernel_size=3<\/code>: \u5377\u79ef\u6838\u7684\u5927\u5c0f\u4e3a 3\u00d73\u3002<\/li>\n\n\n\n<li><code>padding=1<\/code>: \u5728\u8f93\u5165\u5f20\u91cf\u7684\u6bcf\u4e00\u8fb9\u586b\u5145 1 \u884c\/\u5217\uff0c\u4f7f\u5f97\u8f93\u51fa\u7684\u7a7a\u95f4\u5c3a\u5bf8\u4e0e\u8f93\u5165\u76f8\u540c\uff08\u5047\u8bbe\u6b65\u5e45\u4e3a 1\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>torch.Size(&#91;8, 8])<\/code><\/pre>\n\n\n\n<p>\u5f53\u5377\u79ef\u6838\u7684\u9ad8\u548c\u5bbd\u4e0d\u540c\u65f6\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u9ad8\u548c\u5bbd\u4e0a\u4e0d\u540c\u7684\u586b\u5145\u6570\u4f7f\u8f93\u51fa\u548c\u8f93\u5165\u5177\u6709\u76f8\u540c\u7684\u9ad8\u548c\u5bbd\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u4f7f\u7528\u9ad8\u4e3a5\u3001\u5bbd\u4e3a3\u7684\u5377\u79ef\u6838\u3002\u5728\u9ad8\u548c\u5bbd\u4e24\u4fa7\u7684\u586b\u5145\u6570\u5206\u522b\u4e3a2\u548c1\nconv2d = nn.Conv2d(in_channels=1, out_channels=1, kernel_size=(5, 3), padding=(2, 1))\ncomp_conv2d(conv2d, X).shape<\/code><\/pre>\n\n\n\n<p>\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>torch.Size(&#91;8, 8])<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u6b65\u5e45<\/h2>\n\n\n\n<p>\u5728\u4e8c\u7ef4\u4e92\u76f8\u5173\u8fd0\u7b97\u4e2d\uff0c\u5377\u79ef\u7a97\u53e3\u4ece\u8f93\u5165\u6570\u7ec4\u7684\u6700\u5de6\u4e0a\u65b9\u5f00\u59cb\uff0c\u6309\u4ece\u5de6\u5f80\u53f3\u3001\u4ece\u4e0a\u5f80\u4e0b\u7684\u987a\u5e8f\uff0c\u4f9d\u6b21\u5728\u8f93\u5165\u6570\u7ec4\u4e0a\u6ed1\u52a8\u3002\u5c06\u6bcf\u6b21\u6ed1\u52a8\u7684\u884c\u6570\u548c\u5217\u6570\u79f0\u4e3a\u6b65\u5e45\uff08stride\uff09\u3002<\/p>\n\n\n\n<p>\u76ee\u524d\u770b\u5230\u7684\u4f8b\u5b50\u91cc\uff0c\u5728\u9ad8\u548c\u5bbd\u4e24\u4e2a\u65b9\u5411\u4e0a\u6b65\u5e45\u5747\u4e3a1\u3002\u4e0b\u56fe\u5c55\u793a\u4e86\u5728\u9ad8\u4e0a\u6b65\u5e45\u4e3a3\u3001\u5728\u5bbd\u4e0a\u6b65\u5e45\u4e3a2\u7684\u4e8c\u7ef4\u4e92\u76f8\u5173\u8fd0\u7b97\u3002\u56fe\u4e2d\u7684\u9634\u5f71\u90e8\u5206\u4e3a\u8f93\u51fa\u5143\u7d20\u53ca\u5176\u8ba1\u7b97\u6240\u4f7f\u7528\u7684\u8f93\u5165\u548c\u6838\u6570\u7ec4\u5143\u7d20\uff1a$0\\times0+0\\times1+1\\times2+2\\times3=8$\u3001$0\\times0+6\\times1+0\\times2+0\\times3=6$\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/cos.forillusion.top\/wp-content\/uploads\/2025\/02\/5.2_conv_stride.png\" src=\"https:\/\/cdn.forillusion.com\/moezx\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\"\/><\/figure >\n<noscript><img decoding=\"async\" src=\"https:\/\/cos.forillusion.top\/wp-content\/uploads\/2025\/02\/5.2_conv_stride.png\" alt=\"\"\/><\/figure><\/noscript>\n\n\n\n<p>\u4e00\u822c\u6765\u8bf4\uff0c\u5f53\u9ad8\u4e0a\u6b65\u5e45\u4e3a$s_h$\uff0c\u5bbd\u4e0a\u6b65\u5e45\u4e3a$s_w$\u65f6\uff0c\u8f93\u51fa\u5f62\u72b6\u4e3a<\/p>\n\n\n\n<p>$$<br>\\lfloor(n_h-k_h+p_h+s_h)\/s_h\\rfloor \\times \\lfloor(n_w-k_w+p_w+s_w)\/s_w\\rfloor.<br>$$<\/p>\n\n\n\n<p>\u5982\u679c\u8bbe\u7f6e$p_h=k_h-1$\u548c$p_w=k_w-1$\uff0c\u90a3\u4e48\u8f93\u51fa\u5f62\u72b6\u5c06\u7b80\u5316\u4e3a$\\lfloor(n_h+s_h-1)\/s_h\\rfloor \\times \\lfloor(n_w+s_w-1)\/s_w\\rfloor$\u3002\u66f4\u8fdb\u4e00\u6b65\uff0c\u5982\u679c\u8f93\u5165\u7684\u9ad8\u548c\u5bbd\u80fd\u5206\u522b\u88ab\u9ad8\u548c\u5bbd\u4e0a\u7684\u6b65\u5e45\u6574\u9664\uff0c\u90a3\u4e48\u8f93\u51fa\u5f62\u72b6\u5c06\u662f$(n_h\/s_h) \\times (n_w\/s_w)$\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u4ee4\u9ad8\u548c\u5bbd\u4e0a\u7684\u6b65\u5e45\u5747\u4e3a2\uff0c\u4ece\u800c\u4f7f\u8f93\u5165\u7684\u9ad8\u548c\u5bbd\u51cf\u534a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conv2d = nn.Conv2d(1, 1, kernel_size=3, padding=1, stride=2)\ncomp_conv2d(conv2d, X).shape<\/code><\/pre>\n\n\n\n<p>\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>torch.Size(&#91;4, 4])<\/code><\/pre>\n\n\n\n<p>\u63a5\u4e0b\u6765\u662f\u4e00\u4e2a\u7a0d\u5fae\u590d\u6742\u70b9\u513f\u7684\u4f8b\u5b50\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conv2d = nn.Conv2d(1, 1, kernel_size=(3, 5), padding=(0, 1), stride=(3, 4))\ncomp_conv2d(conv2d, X).shape<\/code><\/pre>\n\n\n\n<p>\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>torch.Size(&#91;2, 2])<\/code><\/pre>\n\n\n\n<p>\u4e3a\u4e86\u8868\u8ff0\u7b80\u6d01\uff0c\u5f53\u8f93\u5165\u7684\u9ad8\u548c\u5bbd\u4e24\u4fa7\u7684\u586b\u5145\u6570\u5206\u522b\u4e3a$p_h$\u548c$p_w$\u65f6\uff0c\u79f0\u586b\u5145\u4e3a$(p_h, p_w)$\u3002\u7279\u522b\u5730\uff0c\u5f53$p_h = p_w = p$\u65f6\uff0c\u586b\u5145\u4e3a$p$\u3002\u5f53\u5728\u9ad8\u548c\u5bbd\u4e0a\u7684\u6b65\u5e45\u5206\u522b\u4e3a$s_h$\u548c$s_w$\u65f6\uff0c\u79f0\u6b65\u5e45\u4e3a$(s_h, s_w)$\u3002\u7279\u522b\u5730\uff0c\u5f53$s_h = s_w = s$\u65f6\uff0c\u6b65\u5e45\u4e3a$s$\u3002\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u586b\u5145\u4e3a0\uff0c\u6b65\u5e45\u4e3a1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5047\u8bbe\u8f93\u5165\u5f62\u72b6\u662f$n_h\\times n_w$\uff0c\u5377\u79ef\u6838\u7a97\u53e3\u5f62\u72b6\u662f$k_h\\times k_w$\uff0c\u90a3\u4e48\u8f93\u51fa\u5f62\u72b6\u5c06\u4f1a\u662f $$(n_h-k &#8230;<\/p>","protected":false},"author":1,"featured_media":1832,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,3],"tags":[45,44,12,22],"class_list":["post-1831","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-46","category-3","tag-45","tag-44","tag-12","tag-22"],"_links":{"self":[{"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/posts\/1831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/comments?post=1831"}],"version-history":[{"count":1,"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/posts\/1831\/revisions"}],"predecessor-version":[{"id":1833,"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/posts\/1831\/revisions\/1833"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/media\/1832"}],"wp:attachment":[{"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/media?parent=1831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/categories?post=1831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.forillusion.com\/index.php\/wp-json\/wp\/v2\/tags?post=1831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}