<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>momijiame</author_name>
  <author_url>https://blog.hatena.ne.jp/momijiame/</author_url>
  <blog_title>CUBE SUGAR CONTAINER</blog_title>
  <blog_url>https://blog.amedama.jp/</blog_url>
  <categories>
    <anon>TensorFlow</anon>
    <anon>Python</anon>
    <anon>macOS</anon>
    <anon>機械学習</anon>
  </categories>
  <description>今回は、TensorFlow2 のプリミティブな API を使って、自動微分と勾配法で計算グラフを最適化する方法が気になったので試してみた。 普段は Keras (tf.keras) を使ったミニバッチ学習をすることが多いけど、データのサイズが小さければバッチ学習で解く選択肢もあると思うので。 使った環境は次のとおり。 $ sw_vers ProductName: macOS ProductVersion: 11.2 BuildVersion: 20D64 $ python -V Python 3.8.7 $ pip list | grep &quot;tensorflow &quot; tensorflow 2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.amedama.jp%2Fentry%2Ftf2-autograd-optimize&quot; title=&quot;Python: TensorFlow2 の自動微分を試してみる - CUBE SUGAR CONTAINER&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://m.media-amazon.com/images/I/51kU2EFP5UL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-04 21:28:15</published>
  <title>Python: TensorFlow2 の自動微分を試してみる</title>
  <type>rich</type>
  <url>https://blog.amedama.jp/entry/tf2-autograd-optimize</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
