|View source on GitHub|
Condition the value of a tensor.
tf.contrib.gan.features.condition_tensor( tensor, conditioning )
Conditioning scheme based on https://arxiv.org/abs/1609.03499.
tensor: A minibatch tensor to be conditioned.
conditioning: A minibatch Tensor of to condition on. Must be 2D, with first dimension the same as
tensor conditioned on
ValueError: If the non-batch dimensions of
tensoraren't fully defined.
conditioningisn't at least 2D.
ValueError: If the batch dimension for the input Tensors don't match.