tips:python:numpy:start
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| tips:python:numpy:start [2020/02/21 04:10] – [代入] yuuho | tips:python:numpy:start [2021/11/28 17:13] (現在) – yuuho | ||
|---|---|---|---|
| 行 14: | 行 14: | ||
| grid = np.mgrid[: | grid = np.mgrid[: | ||
| grid = np.mgrid[: | grid = np.mgrid[: | ||
| + | grid = np.stack(np.mgrid[: | ||
| + | grid = np.mgrid[: | ||
| + | grid = np.mgrid[: | ||
| </ | </ | ||
| 行 59: | 行 62: | ||
| out = img[smp_y, | out = img[smp_y, | ||
| </ | </ | ||
| + | |||
| + | === int から one hot へ === | ||
| + | |||
| ==== 変形 ==== | ==== 変形 ==== | ||
| 行 105: | 行 111: | ||
| === 型変換 === | === 型変換 === | ||
| '' | '' | ||
| + | |||
| + | ==== print関数の挙動を変更 ==== | ||
| + | |||
| + | '' | ||
| + | |||
| + | * [[https:// | ||
tips/python/numpy/start.1582258247.txt.gz · 最終更新: 2020/02/21 04:10 by yuuho
