tf.contrib.distributions.Chi2WithAbsDf.log_survival_function()

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

tensorflow::PartialTensorShape::AsProto()

void tensorflow::PartialTensorShape::AsProto(TensorShapeProto *proto) const Fill *proto from *this.

tf.contrib.graph_editor.reroute_a2b_ts()

tf.contrib.graph_editor.reroute_a2b_ts(ts0, ts1, can_modify=None, cannot_modify=None) For each tensor's pair, replace the end of t1 by the end of t0. B0 B1 B0 B1 | | => |/ A0 A1 A0 A1 The end of the tensors in ts1 are left dangling. Args: ts0: an object convertible to a list of tf.Tensor. ts1: an object convertible to a list of tf.Tensor. can_modify: iterable of operations which can be modified. Any operation outside within_ops will be left untouched by this function. cannot_modify: ite

tf.contrib.distributions.Distribution.log_pdf()

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

tf.contrib.distributions.StudentT.entropy()

tf.contrib.distributions.StudentT.entropy(name='entropy') Shanon entropy in nats.

tf.TextLineReader

class tf.TextLineReader A Reader that outputs the lines of a file delimited by newlines. Newlines are stripped from the output. See ReaderBase for supported methods.

tf.contrib.distributions.Gamma.log_prob()

tf.contrib.distributions.Gamma.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.Mixture.log_pdf()

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

tf.contrib.graph_editor.connect()

tf.contrib.graph_editor.connect(sgv0, sgv1, disconnect_first=False) Connect the outputs of sgv0 to the inputs of sgv1. Args: sgv0: the first subgraph to have its outputs swapped. This argument is converted to a subgraph using the same rules as the function subgraph.make_view. Note that sgv0 is modified in place. sgv1: the second subgraph to have its outputs swapped. This argument is converted to a subgraph using the same rules as the function subgraph.make_view. Note that sgv1 is modified in

tf.contrib.distributions.Beta.param_static_shapes()

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