Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
* imported functions are not overwritten by functions of the same name #1257
No man，I mean the server show the wrong formation of this function with the wrong parameters which has been already deprecated by tensorflow, the right parameters is truncated_normal(shape, steddv,mean ....) ,it is totally different with that picture,and it is really not convenient.
Following the definition back, the function that we're finding is in
def truncated_normal(shape, dtype, seed=0, seed2=0, name=None):
But we should be finding the one in
def truncated_normal(shape, mean=0.0, stddev=1.0, dtype=dtypes.float32, seed=None, name=None):
This is because
from tensorflow.python.ops.gen_random_ops import *
So gets the first function, but the redefinition doesn't seem to have occurred.