<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaeken</author_name>
  <author_url>https://blog.hatena.ne.jp/kaeken/</author_url>
  <blog_title>kaeken(嘉永島健司)ブログ</blog_title>
  <blog_url>https://kaeken.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Deep Learning</anon>
  </categories>
  <description>参考： Python3のimport・下位/上位階層のモジュールをインポートしたい【import】【Python3】 - DRYな備忘録 『ゼロから作るDeep Learning』で自作関数がだんだん説明なしに使われていくので、いったんモジュールにまとめて読み込むことにする。 本番環境ならどこに配置するか考える必要はあるが、ひとまず同一ディレクトリ内にmy_module.pyとしてまとめておく。 $ cat my_module.py # 自作関数をまとめたモジュール import numpy as np def step(x): #step関数 return np.array(x &gt; 0, d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaeken.hatenablog.com%2Fentry%2F2016%2F11%2F05%2F181846&quot; title=&quot;Pythonで自作関数をモジュールとして読み込む - kaeken(嘉永島健司)ブログ&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>2016-11-05 18:18:46</published>
  <title>Pythonで自作関数をモジュールとして読み込む</title>
  <type>rich</type>
  <url>https://kaeken.hatenablog.com/entry/2016/11/05/181846</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
