{"id":36651,"date":"2024-11-01T09:50:19","date_gmt":"2024-11-01T09:50:19","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=36651"},"modified":"2024-11-01T11:52:21","modified_gmt":"2024-11-01T11:52:21","slug":"deep-learning-pytorch-course-handling-tensors","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/36651\/","title":{"rendered":"Deep Learning PyTorch Course, Handling Tensors"},"content":{"rendered":"<p><body><\/p>\n<p>One of the basic components of deep learning is the tensor. A tensor represents an N-dimensional array and is used as a foundation for neural network training in PyTorch. In this course, we will learn in detail how to create and manipulate tensors in PyTorch.<\/p>\n<h2>1. Basic Understanding of Tensors<\/h2>\n<p>A tensor is fundamentally a set of numbers. A 0-dimensional tensor is called a scalar, a 1-dimensional tensor is a vector, a 2-dimensional tensor is a matrix, and a 3-dimensional tensor is known as a multi-dimensional array. PyTorch provides various functionalities to easily create and manipulate tensors.<\/p>\n<h3>1.1. Installing PyTorch<\/h3>\n<p>First, you need to install PyTorch. If you are using Anaconda, you can run the code below to install it:<\/p>\n<pre><code>conda install pytorch torchvision torchaudio cpuonly -c pytorch<\/code><\/pre>\n<h2>2. Creating Tensors<\/h2>\n<p>There are several ways to create tensors in PyTorch. The most basic method is to use the <code>torch.tensor()<\/code> function.<\/p>\n<h3>2.1. Basic Tensor Creation<\/h3>\n<pre><code>import torch\n\n# Create tensor using a list\ntensor1 = torch.tensor([1, 2, 3])\nprint(tensor1)<\/code><\/pre>\n<p>When you run the above code, you can get the following result:<\/p>\n<pre><code>tensor([1, 2, 3])<\/code><\/pre>\n<h3>2.2. Various Ways to Create Tensors<\/h3>\n<p>In PyTorch, you can create tensors in various ways. For example:<\/p>\n<ul>\n<li><code>torch.zeros()<\/code>: Create a tensor where all elements are 0<\/li>\n<li><code>torch.ones()<\/code>: Create a tensor where all elements are 1<\/li>\n<li><code>torch.arange()<\/code>: Create a tensor with elements in a specified range<\/li>\n<li><code>torch.randn()<\/code>: Create a tensor following a normal distribution with mean 0 and standard deviation 1<\/li>\n<\/ul>\n<h4>Example Code<\/h4>\n<pre><code># Create various tensors\nzeros_tensor = torch.zeros(3, 4)\nones_tensor = torch.ones(3, 4)\narange_tensor = torch.arange(0, 10, step=1)\nrandom_tensor = torch.randn(3, 4)\n\nprint(\"Zeros Tensor:\\n\", zeros_tensor)\nprint(\"Ones Tensor:\\n\", ones_tensor)\nprint(\"Arange Tensor:\\n\", arange_tensor)\nprint(\"Random Tensor:\\n\", random_tensor)<\/code><\/pre>\n<h2>3. Tensor Properties<\/h2>\n<p>Tensors have various properties. After creating a tensor, you can check its properties. Below are the key properties:<\/p>\n<ul>\n<li><code>tensor.shape<\/code>: The dimension (shape) of the tensor<\/li>\n<li><code>tensor.dtype<\/code>: The data type of the tensor<\/li>\n<li><code>tensor.device<\/code>: The device where the tensor exists (CPU or GPU)<\/li>\n<\/ul>\n<h3>Example Code<\/h3>\n<pre><code>print(\"Shape:\", tensor1.shape)\nprint(\"Data Type:\", tensor1.dtype)\nprint(\"Device:\", tensor1.device)<\/code><\/pre>\n<h2>4. Tensor Operations<\/h2>\n<p>Tensors support various operations, ranging from basic arithmetic operations to advanced operations.<\/p>\n<h3>4.1. Basic Arithmetic Operations<\/h3>\n<pre><code>tensor_a = torch.tensor([1, 2, 3])\ntensor_b = torch.tensor([4, 5, 6])\n\n# Addition\nadd_result = tensor_a + tensor_b\nprint(\"Addition Result:\", add_result)\n\n# Multiplication\nmul_result = tensor_a * tensor_b\nprint(\"Multiplication Result:\", mul_result)<\/code><\/pre>\n<h3>4.2. Matrix Operations<\/h3>\n<p>Matrix multiplication can be performed using <code>torch.mm()<\/code> or the <code>@<\/code> operator.<\/p>\n<pre><code>matrix_a = torch.tensor([[1, 2],\n                              [3, 4]])\n\nmatrix_b = torch.tensor([[5, 6],\n                          [7, 8]])\n\nmatrix_product = torch.mm(matrix_a, matrix_b)\nprint(\"Matrix Product:\\n\", matrix_product)<\/code><\/pre>\n<h2>5. Tensor Slicing and Indexing<\/h2>\n<p>Since tensors are N-dimensional arrays, you can extract desired data through slicing and indexing.<\/p>\n<h3>5.1. Basic Indexing<\/h3>\n<pre><code>tensor = torch.tensor([[1, 2, 3],\n                           [4, 5, 6],\n                           [7, 8, 9]])\n\n# Element at the first row and second column\nelement = tensor[0, 1]\nprint(\"Element at (0, 1):\", element)<\/code><\/pre>\n<h3>5.2. Slicing<\/h3>\n<pre><code># Slicing all rows of the second column\nslice_tensor = tensor[:, 1]\nprint(\"Slice Tensor:\", slice_tensor)<\/code><\/pre>\n<h2>6. Tensors and GPU<\/h2>\n<p>In PyTorch, you can utilize the GPU to accelerate operations. To move a tensor to the GPU, you can use the <code>.to()<\/code> method.<\/p>\n<h3>Example Code<\/h3>\n<pre><code>device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\ntensor_gpu = tensor.to(device)\nprint(\"Tensor on GPU:\", tensor_gpu)<\/code><\/pre>\n<h2>7. Reshaping Tensors<\/h2>\n<p>As you work with tensors, there will often be a need to change their shape. To do this, you can use <code>torch.view()<\/code> or <code>torch.reshape()<\/code>.<\/p>\n<h3>Example Code<\/h3>\n<pre><code>reshaped_tensor = tensor.view(1, 9)\nprint(\"Reshaped Tensor:\\n\", reshaped_tensor)<\/code><\/pre>\n<h2>8. Comprehensive Example<\/h2>\n<p>Now, let&#8217;s combine everything we have learned so far to create a simple neural network model. We will create a model to classify hand-written digits using the MNIST dataset.<\/p>\n<h3>Creating a PyTorch Model<\/h3>\n<pre><code>import torchvision.transforms as transforms\nfrom torchvision import datasets\nfrom torch.utils.data import DataLoader\n\n# Download and load dataset\ntransform = transforms.Compose([transforms.ToTensor()])\ntrain_dataset = datasets.MNIST(root='.\/data', train=True, download=True, transform=transform)\ntrain_loader = DataLoader(train_dataset, batch_size=64, shuffle=True)\n\n# Define a simple model for validation\nimport torch.nn as nn\nimport torch.optim as optim\n\nclass SimpleNN(nn.Module):\n    def __init__(self):\n        super(SimpleNN, self).__init__()\n        self.fc1 = nn.Linear(28*28, 128)  # 28x28 is the size of MNIST images\n        self.fc2 = nn.Linear(128, 10)      # 10 is the number of classes to classify\n\n    def forward(self, x):\n        x = x.view(-1, 28*28) # flatten the input\n        x = torch.relu(self.fc1(x))\n        x = self.fc2(x)\n        return x\n\n# Setting up the model, loss function, and optimizer\nmodel = SimpleNN().to(device)\ncriterion = nn.CrossEntropyLoss()\noptimizer = optim.SGD(model.parameters(), lr=0.01)\n\n# Training loop\nfor epoch in range(5):  # Train for 5 epochs\n    for batch_idx, (data, target) in enumerate(train_loader):\n        data, target = data.to(device), target.to(device)\n\n        optimizer.zero_grad()   # Reset previous gradients to zero\n        output = model(data)    # Pass data through the model\n        loss = criterion(output, target)  # Calculate loss\n        loss.backward()         # Compute gradients\n        optimizer.step()        # Update parameters\n\n        if batch_idx % 100 == 0:\n            print(f'Epoch: {epoch}, Batch: {batch_idx}, Loss: {loss.item()}')<\/code><\/pre>\n<p>In the code above, we built a simple neural network model to classify hand-written digits by training on the MNIST dataset. It includes the processes of creating tensors, performing operations, and running on the GPU.<\/p>\n<h2>Conclusion<\/h2>\n<p>In this tutorial, we learned various methods to create and manipulate tensors in PyTorch. Tensors are fundamental components of deep learning and play a crucial role in the model training and testing processes. In the next step, you can learn about more complex models and deep learning techniques.<\/p>\n<p>Thank you!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the basic components of deep learning is the tensor. A tensor represents an N-dimensional array and is used as a foundation for neural network training in PyTorch. In this course, we will learn in detail how to create and manipulate tensors in PyTorch. 1. Basic Understanding of Tensors A tensor is fundamentally a &hellip; <a href=\"https:\/\/atmokpo.com\/w\/36651\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Deep Learning PyTorch Course, Handling Tensors&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[149],"tags":[],"class_list":["post-36651","post","type-post","status-publish","format-standard","hentry","category-pytorch-study"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Deep Learning PyTorch Course, Handling Tensors - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/36651\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deep Learning PyTorch Course, Handling Tensors - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"One of the basic components of deep learning is the tensor. A tensor represents an N-dimensional array and is used as a foundation for neural network training in PyTorch. In this course, we will learn in detail how to create and manipulate tensors in PyTorch. 1. Basic Understanding of Tensors A tensor is fundamentally a &hellip; \ub354 \ubcf4\uae30 &quot;Deep Learning PyTorch Course, Handling Tensors&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/36651\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:50:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:52:21+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/36651\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36651\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Deep Learning PyTorch Course, Handling Tensors\",\"datePublished\":\"2024-11-01T09:50:19+00:00\",\"dateModified\":\"2024-11-01T11:52:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36651\/\"},\"wordCount\":479,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"PyTorch Study\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/36651\/\",\"url\":\"https:\/\/atmokpo.com\/w\/36651\/\",\"name\":\"Deep Learning PyTorch Course, Handling Tensors - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:50:19+00:00\",\"dateModified\":\"2024-11-01T11:52:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36651\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/36651\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/36651\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deep Learning PyTorch Course, Handling Tensors\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Deep Learning PyTorch Course, Handling Tensors - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/36651\/","og_locale":"ko_KR","og_type":"article","og_title":"Deep Learning PyTorch Course, Handling Tensors - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"One of the basic components of deep learning is the tensor. A tensor represents an N-dimensional array and is used as a foundation for neural network training in PyTorch. In this course, we will learn in detail how to create and manipulate tensors in PyTorch. 1. Basic Understanding of Tensors A tensor is fundamentally a &hellip; \ub354 \ubcf4\uae30 \"Deep Learning PyTorch Course, Handling Tensors\"","og_url":"https:\/\/atmokpo.com\/w\/36651\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:50:19+00:00","article_modified_time":"2024-11-01T11:52:21+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/36651\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/36651\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Deep Learning PyTorch Course, Handling Tensors","datePublished":"2024-11-01T09:50:19+00:00","dateModified":"2024-11-01T11:52:21+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/36651\/"},"wordCount":479,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["PyTorch Study"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/36651\/","url":"https:\/\/atmokpo.com\/w\/36651\/","name":"Deep Learning PyTorch Course, Handling Tensors - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:50:19+00:00","dateModified":"2024-11-01T11:52:21+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/36651\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/36651\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/36651\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Deep Learning PyTorch Course, Handling Tensors"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=36651"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36651\/revisions"}],"predecessor-version":[{"id":36652,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36651\/revisions\/36652"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=36651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=36651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=36651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}