<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>PyTorch</anon>
  </categories>
  <description>torch.autograd provides classes and functions implementing automatic differentiation of arbitrary scalar valued functions. *1 PyTorch のドキュメントを読んでもよく分からなかったので，こちらのサンプルを参考にしました． 任意の関数の勾配を自動的に計算してくれるらしいのですが，最初は手動でやらないと何をしてくれているのか分からないので，torch.autograd を使わずに，最小二乗法のようなものを機械学習で実装してみます． データの準備 傾きa，y切片bの直線に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2023%2F09%2F26%2F165358&quot; title=&quot;PyTorch の自動微分 (torch.autograd) - みーのぺーじ&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-ak.f.st-hatena.com/images/fotolife/a/atsuhiro-me/20230925/20230925184450.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-09-26 16:53:58</published>
  <title>PyTorch の自動微分 (torch.autograd)</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2023/09/26/165358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
