summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/matmul/__init__.py
blob: 760241de7d561949f1f749545853cc05650ed13c (plain)
1
2
3
4
5
import tensorflow as tf

lhs_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(3, 4), name="Hole")
rhs_ = tf.compat.v1.constant(dtype=tf.float32, shape=(4, 4), name="Hole", value=1.0)
op_ = tf.compat.v1.matmul(lhs_, rhs_)