Skip to content

Instantly share code, notes, and snippets.

View kattoyoshi's full-sized avatar

Yoshiyuki Kato kattoyoshi

View GitHub Profile
@kattoyoshi
kattoyoshi / tf_map_scan.py
Created October 11, 2020 08:15
tensorflow-map_fn-scan
import tensorflow as tf
import numpy as np
print(tf.__version__) # 2.3.0
print(np.__version__) # 1.9.1
# ---------------------------------------------------
# 1. map_fn
# ---------------------------------------------------
# ---------------------------------------------------
@kattoyoshi
kattoyoshi / 1.CS_Practice.ipynb
Last active February 6, 2019 12:41
CoordinateSystemsPractice
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kattoyoshi
kattoyoshi / ComparisonOfArray.py
Last active June 24, 2018 13:52
Examples of the comparison of the array data ( list and numpy ndarray).
import numpy as np
####################################
# Comparison of the 'list'
####################################
# In case of the 'list' data,
# the result of the comparison using '==' and/or '!='
# is whether all the elements meet the condition.
# The result is just 'True' or 'False', not elementwise.