Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nordic Language Processing Laboratory
easybuild
Commits
ece2645a
Commit
ece2645a
authored
Jul 22, 2020
by
Sabry Razick
Browse files
test for tensorflow
parent
e9b0cf8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tensorflow_test.py
0 → 100755
View file @
ece2645a
#!/usr/bin/env python3
import
tensorflow
as
tf
print
(
tf
.
__file__
)
print
(
tf
.
__version__
)
tf
.
compat
.
v1
.
enable_eager_execution
()
print
(
tf
.
add
(
1
,
2
).
numpy
())
hello
=
tf
.
constant
(
'Hello, TensorFlow!'
)
print
(
hello
.
numpy
())
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment