Imported Upstream version 1.21.0
[platform/core/ml/nnfw.git] / res / TensorFlowPythonExamples / examples / biasadd / __init__.py
1 import tensorflow as tf
2
3 tf.compat.v1.disable_eager_execution()
4
5 in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(1, 1, 2, 3), name="Hole")
6 op_ = tf.nn.bias_add(in_, bias=[1.0, 1.0, -1.0], data_format="NHWC")