tf.maximum()

tf.maximum(x, y, name=None) Returns the max of x and y (i.e. x > y ? x : y) element-wise. NOTE: Maximum supports broadcasting. More about broadcasting here Args: x: A Tensor. Must be one of the following types: half, float32, float64, int32, int64. y: A Tensor. Must have the same type as x. name: A name for the operation (optional). Returns: A Tensor. Has the same type as x.

tf.contrib.distributions.Gamma.log_survival_function()

tf.contrib.distributions.Gamma.log_survival_function(value, name='log_survival_function') Log survival function. Given random variable X, the survival function is defined: log_survival_function(x) = Log[ P[X > x] ] = Log[ 1 - P[X <= x] ] = Log[ 1 - cdf(x) ] Typically, different numerical approximations can be used for the log survival function, which are more accurate than 1 - cdf(x) when x >> 1. Args: value: float or double Tenso

tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.batch_shape()

tf.contrib.distributions.StudentTWithAbsDfSoftplusSigma.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.nn.rnn_cell.BasicLSTMCell

class tf.nn.rnn_cell.BasicLSTMCell Basic LSTM recurrent network cell. The implementation is based on: http://arxiv.org/abs/1409.2329. We add forget_bias (default: 1) to the biases of the forget gate in order to reduce the scale of forgetting in the beginning of the training. It does not allow cell clipping, a projection layer, and does not use peep-hole connections: it is the basic baseline. For advanced models, please use the full LSTMCell that follows.

tensorflow::RandomAccessFile

A file abstraction for randomly reading the contents of a file. Member Details tensorflow::RandomAccessFile::RandomAccessFile() tensorflow::RandomAccessFile::~RandomAccessFile() virtual Status tensorflow::RandomAccessFile::Read(uint64 offset, size_t n, StringPiece *result, char *scratch) const =0 Reads up to n bytes from the file starting at offset. scratch[0..n-1] may be written by this routine. Sets *result to the data that was read (including if fewer than n bytes were successfully read). Ma

tf.contrib.distributions.ExponentialWithSoftplusLam.param_static_shapes()

tf.contrib.distributions.ExponentialWithSoftplusLam.param_static_shapes(cls, sample_shape) param_shapes with static (i.e. TensorShape) shapes. Args: sample_shape: TensorShape or python list/tuple. Desired shape of a call to sample(). Returns: dict of parameter name to TensorShape. Raises: ValueError: if sample_shape is a TensorShape and is not fully defined.

tf.contrib.distributions.Dirichlet.pdf()

tf.contrib.distributions.Dirichlet.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.

tensorflow::Tensor::tensor()

TTypes< T, NDIMS >::Tensor tensorflow::Tensor::tensor()

tf.FixedLenFeature

class tf.FixedLenFeature Configuration for parsing a fixed-length input feature. To treat sparse input as dense, provide a default_value; otherwise, the parse functions will fail on any examples missing this feature. Fields: shape: Shape of input data. dtype: Data type of input. default_value: Value to be used if an example is missing this feature. It must be compatible with dtype.

tf.contrib.distributions.MultivariateNormalDiag.log_pdf()

tf.contrib.distributions.MultivariateNormalDiag.log_pdf(value, name='log_pdf') Log probability density function. 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. Raises: TypeError: if not is_continuous.