<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>venoda</author_name>
  <author_url>https://blog.hatena.ne.jp/venoda/</author_url>
  <blog_title>機械学習ともろもろ</blog_title>
  <blog_url>https://venoda.hatenablog.com/</blog_url>
  <categories>
    <anon>PyTorch</anon>
    <anon>Python</anon>
  </categories>
  <description>1. 概要 2. データからTensorの作成 3. NumpyのndarrayからTensorの作成 4. 他のTensorから新しいTensorの作成 5. 形状を指定した新しいTensorの作成 6. 全体コード 1. 概要 PyTorchにはTensorというものが存在します。 TensorはPyTorchの基本となるデータ構造で、多次元配列を扱います。 PyTorchでディープラーニングを構築する際には、基本的にはTensorを使用します。 Tensorの操作方法はNumpyの操作方法と似ており、Numpyと同じような感覚で操作できます。 PyTorchのいろいろなTensorの作成…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvenoda.hatenablog.com%2Fentry%2F2021%2F05%2F30%2F201502&quot; title=&quot;【PyTorch入門】Tensorの作成方法 - 機械学習ともろもろ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-30 20:15:02</published>
  <title>【PyTorch入門】Tensorの作成方法</title>
  <type>rich</type>
  <url>https://venoda.hatenablog.com/entry/2021/05/30/201502</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
