mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-11 20:12:58 +00:00
Add a way to easily test units
This commit is contained in:
7
tensorflow-notebook/test/units/unit_tensorflow.py
Normal file
7
tensorflow-notebook/test/units/unit_tensorflow.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
import tensorflow as tf
|
||||
|
||||
|
||||
print(tf.constant('Hello, TensorFlow'))
|
||||
print(tf.reduce_sum(tf.random.normal([1000, 1000])))
|
Reference in New Issue
Block a user