summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/div/__init__.py
blob: 9acf9166b0d56e47ffe9d8c2d577ef77a0d6f071 (plain)
1
2
3
4
5
6
7
import tensorflow as tf

tf.compat.v1.disable_eager_execution()

lhs_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(4, 4), name="Hole")
rhs_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(4, 4), name="Hole")
op_ = tf.compat.v1.div(lhs_, rhs_)