def truncated_normal(shape=None, mean=0.0, stddev=0.02, dtype=tf.float32, seed=None):
 if shape:
  return tf.truncated_normal(shape=shape, mean=mean, stddev=stddev, seed=seed, dtype=dtype)
 else:
  return tf.truncated_normal_initializer(mean=mean, stddev=stddev, seed=seed, dtype=dtype)

def truncated_normal ( shape = None , mean = 0.0 , stddev = 0.02 , dtype = tf . float32 , seed = None ) : if shape : return tf . truncated_normal ( shape = shape , mean = mean , stddev = stddev , seed = seed , dtype = dtype ) else : return tf . truncated_normal_initializer ( mean = mean , stddev = stddev , seed = seed , dtype = dtype )
truncated normal .