tf.contrib.distributions.Gamma.beta

tf.contrib.distributions.Gamma.beta Inverse scale parameter.

tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.pdf()

tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.pdf(value, name='pdf') Probability density function. Args: value: float or double Tensor. name: The name to give this op. Returns: prob: a Tensor of shape sample_shape(x) + self.batch_shape with values of type self.dtype. Raises: TypeError: if not is_continuous.

tf.contrib.distributions.Chi2.__init__()

tf.contrib.distributions.Chi2.__init__(df, validate_args=False, allow_nan_stats=True, name='Chi2') Construct Chi2 distributions with parameter df. Args: df: Floating point tensor, the degrees of freedom of the distribution(s). df must contain only positive values. validate_args: Boolean, default False. Whether to assert that df > 0, and that x > 0 in the methods prob(x) and log_prob(x). If validate_args is False and the inputs are invalid, correct behavior is not guaranteed. allow_nan

tf.WholeFileReader.num_records_produced()

tf.WholeFileReader.num_records_produced(name=None) Returns the number of records this reader has produced. This is the same as the number of Read executions that have succeeded. Args: name: A name for the operation (optional). Returns: An int64 Tensor.

tf.contrib.distributions.BaseDistribution.log_prob()

tf.contrib.distributions.BaseDistribution.log_prob(value, name='log_prob') Log probability density/mass function (depending on is_continuous). Args: value: float or double Tensor. name: The name to give this op. Returns: log_prob: a Tensor of shape sample_shape(x) + self.batch_shape with values of type self.dtype.

tf.contrib.distributions.Bernoulli.event_shape()

tf.contrib.distributions.Bernoulli.event_shape(name='event_shape') Shape of a single sample from a single batch as a 1-D int32 Tensor. Args: name: name to give to the op Returns: event_shape: Tensor.

tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.allow_nan_stats

tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev.allow_nan_stats Python boolean describing behavior when a stat is undefined. Stats return +/- infinity when it makes sense. E.g., the variance of a Cauchy distribution is infinity. However, sometimes the statistic is undefined, e.g., if a distribution's pdf does not achieve a maximum within the support of the distribution, the mode is undefined. If the mean is undefined, then by definition the variance is undefined. E.g. the mean

tf.nn.rnn_cell.DropoutWrapper.__init__()

tf.nn.rnn_cell.DropoutWrapper.__init__(cell, input_keep_prob=1.0, output_keep_prob=1.0, seed=None) Create a cell with added input and/or output dropout. Dropout is never used on the state. Args: cell: an RNNCell, a projection to output_size is added to it. input_keep_prob: unit Tensor or float between 0 and 1, input keep probability; if it is float and 1, no input dropout will be added. output_keep_prob: unit Tensor or float between 0 and 1, output keep probability; if it is float and 1, no

tf.nn.rnn_cell.OutputProjectionWrapper.zero_state()

tf.nn.rnn_cell.OutputProjectionWrapper.zero_state(batch_size, dtype) Return zero-filled state tensor(s). Args: batch_size: int, float, or unit Tensor representing the batch size. dtype: the data type to use for the state. Returns: If state_size is an int or TensorShape, then the return value is a N-D tensor of shape [batch_size x state_size] filled with zeros. If state_size is a nested list or tuple, then the return value is a nested list or tuple (of the same structure) of 2-D tensors wit

tf.ones()

tf.ones(shape, dtype=tf.float32, name=None) Creates a tensor with all elements set to 1. This operation returns a tensor of type dtype with shape shape and all elements set to 1. For example: tf.ones([2, 3], int32) ==> [[1, 1, 1], [1, 1, 1]] Args: shape: Either a list of integers, or a 1-D Tensor of type int32. dtype: The type of an element in the resulting Tensor. name: A name for the operation (optional). Returns: A Tensor with all elements set to 1.