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

tf.compat.v1.disable_eager_execution()

in_ = tf.compat.v1.placeholder(dtype=tf.bool, shape=(4, 4), name="Hole")
op_ = tf.compat.v1.logical_not(in_)