summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/yuv_to_rgb/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowPythonExamples/examples/yuv_to_rgb/__init__.py')
-rwxr-xr-xres/TensorFlowPythonExamples/examples/yuv_to_rgb/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/TensorFlowPythonExamples/examples/yuv_to_rgb/__init__.py b/res/TensorFlowPythonExamples/examples/yuv_to_rgb/__init__.py
new file mode 100755
index 000000000..5230bbac6
--- /dev/null
+++ b/res/TensorFlowPythonExamples/examples/yuv_to_rgb/__init__.py
@@ -0,0 +1,4 @@
+import tensorflow as tf
+
+in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(1, 16, 16, 3), name="Hole")
+op_ = tf.compat.v1.image.yuv_to_rgb(in_)