summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/floor/__init__.py
blob: 0357cee3bc2cc47936a5e279a194ea4b20494978 (plain)
1
2
3
4
5
6
import tensorflow as tf

tf.compat.v1.disable_eager_execution()

in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(1, 1), name="Hole")
op_ = tf.compat.v1.floor(in_)