<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>meganeshot4</author_name>
  <author_url>https://blog.hatena.ne.jp/meganeshot4/</author_url>
  <blog_title>SHOT4</blog_title>
  <blog_url>https://meganeshot4.hatenablog.com/</blog_url>
  <categories>
    <anon>Chainerチュートリアル</anon>
    <anon>Python</anon>
  </categories>
  <description>問題文 tutorials.chainer.org今回は条件に応じたクラスを作成する。 クラスは「class クラス名:」で作成する __init__()関数を作成すると、クラスを作成したタイミングでこれが呼ばれる。コンストラクタ クラス内の関数には(self)を引数として与える クラスから作ったインスタンスの変数をいじりたいときは、self.xxxxと定義する クラスの定義は下記の通り クラス名：DataManager __init__(self, x, y, z): 3つの数 x, y, z をコンストラクタで受け取り、インスタンスの属性でそれぞれの値を記憶する。 add_x(self, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmeganeshot4.hatenablog.com%2Fentry%2F2020%2F06%2F23%2F002441&quot; title=&quot;問2.6 (クラス) - SHOT4&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-23 00:24:41</published>
  <title>問2.6 (クラス)</title>
  <type>rich</type>
  <url>https://meganeshot4.hatenablog.com/entry/2020/06/23/002441</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
