tf.contrib.distributions.Dirichlet.log_cdf()

tf.contrib.distributions.Dirichlet.log_cdf(value, name='log_cdf') Log cumulative distribution function. Given random variable X, the cumulative distribution function cdf is: log_cdf(x) := Log[ P[X <= x] ] Often, a numerical approximation can be used for log_cdf(x) that yields a more accurate answer than simply taking the logarithm of the cdf when x << -1. Args: value: float or double Tensor. name: The name to give this op. Returns: logcdf: a Tensor of shape sample_shape(x) + sel

tf.delete_session_tensor()

tf.delete_session_tensor(handle, name=None) Delete the tensor for the given tensor handle. This is EXPERIMENTAL and subject to change. Delete the tensor of a given tensor handle. The tensor is produced in a previous run() and stored in the state of the session. Args: handle: The string representation of a persistent tensor handle. name: Optional name prefix for the return tensor. Returns: A pair of graph elements. The first is a placeholder for feeding a tensor handle and the second is a d

tf.image.grayscale_to_rgb()

tf.image.grayscale_to_rgb(images, name=None) Converts one or more images from Grayscale to RGB. Outputs a tensor of the same DType and rank as images. The size of the last dimension of the output is 3, containing the RGB value of the pixels. Args: images: The Grayscale tensor to convert. Last dimension must be size 1. name: A name for the operation (optional). Returns: The converted grayscale image(s).

tf.atan()

tf.atan(x, name=None) Computes atan of x element-wise. Args: x: A Tensor. Must be one of the following types: half, float32, float64, int32, int64, complex64, complex128. name: A name for the operation (optional). Returns: A Tensor. Has the same type as x.

tf.contrib.distributions.Normal.mode()

tf.contrib.distributions.Normal.mode(name='mode') Mode.

tf.QueueBase.enqueue_many()

tf.QueueBase.enqueue_many(vals, name=None) Enqueues zero or more elements to this queue. This operation slices each component tensor along the 0th dimension to make multiple queue elements. All of the tensors in vals must have the same size in the 0th dimension. If the queue is full when this operation executes, it will block until all of the elements have been enqueued. At runtime, this operation may raise an error if the queue is closed before or during its execution. If the queue is closed

tf.contrib.learn.monitors.PrintTensor.every_n_step_end()

tf.contrib.learn.monitors.PrintTensor.every_n_step_end(step, outputs)

tf.contrib.distributions.Uniform.sample_n()

tf.contrib.distributions.Uniform.sample_n(n, seed=None, name='sample_n') Generate n samples. Args: n: Scalar Tensor of type int32 or int64, the number of observations to sample. seed: Python integer seed for RNG name: name to give to the op. Returns: samples: a Tensor with a prepended dimension (n,). Raises: TypeError: if n is not an integer type.

tf.contrib.distributions.Normal.batch_shape()

tf.contrib.distributions.Normal.batch_shape(name='batch_shape') Shape of a single sample from a single event index as a 1-D Tensor. The product of the dimensions of the batch_shape is the number of independent distributions of this kind the instance represents. Args: name: name to give to the op Returns: batch_shape: Tensor.

tf.contrib.distributions.QuantizedDistribution.cdf()

tf.contrib.distributions.QuantizedDistribution.cdf(value, name='cdf') Cumulative distribution function. Given random variable X, the cumulative distribution function cdf is: cdf(x) := P[X <= x] Additional documentation from QuantizedDistribution: For whole numbers y, cdf(y) := P[Y <= y] = 1, if y >= upper_cutoff, = 0, if y < lower_cutoff, = P[X <= y], otherwise. Since Y only has mass at whole numbers, P[Y <= y] = P[Y <= floor(y)]. This dictates th