parameters: (self, shape, mean, stddev, dtype)
return_statement: return op(
          shape=shape, mean=mean, stddev=stddev, dtype=dtype, seed=self.seed)
docstring: A deterministic truncated normal if seed is passed.
docstring_summary: A deterministic truncated normal if seed is passed.
docstring_tokens: A deterministic truncated normal if seed is passed .
function: def truncated_normal(self, shape, mean, stddev, dtype):
      """A deterministic truncated normal if seed is passed."""
      if self.seed:
        op = stateless_random_ops.stateless_truncated_normal
      else:
        op = random_ops.truncated_normal
      return op(
          shape=shape, mean=mean, stddev=stddev, dtype=dtype, seed=self.seed)
function_tokens: def truncated_normal ( self , shape , mean , stddev , dtype ) : if self . seed : op = stateless_random_ops . stateless_truncated_normal else : op = random_ops . truncated_normal return op ( shape = shape , mean = mean , stddev = stddev , dtype = dtype , seed = self . seed )