Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
AttributeError: module 'tensorflow' has no attribute 'random_normal'
CRABOLO
Programming language:
Whatever
2021-08-28 22:59:11
0
Q:
AttributeError: module 'tensorflow' has no attribute 'random_normal'
Kevin
Code:
Whatever
2021-09-19 16:35:15
It was moved
to
tf
.random.
normal
(along with
all
the other
tf
.random_* functions)
1
Tags
error
tensorflow
module
random
attribute
Related
module 'tensorflow_core.compat.v1.random' has no attribute 'set_seed'
AttributeError: module 'tensorflow' has no attribute 'Session' site:stackoverflow.com
AttributeError: module 'tensorflow' has no attribute 'gfile'
tensorflow_core._api.v2.train' has no attribute 'GradientDescentOptimizer'
ModuleNotFoundError: No module named 'tensorflow_core.python'
module 'tensorflow' has no attribute 'set_random_seed'
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'GradientDescentOptimizer'
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'GradientDescentOptimizer' site:stackoverflow.com
ImportError: No module named tensorflow
module 'tensorflow' has no attribute 'ConfigProto'
AttributeError: module 'tensorflow' has no attribute 'Session'
AttributeError: 'KerasRegressor' object has no attribute 'model' site:stackoverflow.com
module 'tensorflow' has no attribute 'InteractiveSession'
AttributeError: module 'tensorflow' has no attribute 'eagerly'
New to Communities?
Join the community