parameters: (self, log_probs)
return_statement: return cat_probs
docstring: Get a list of num_components batchwise probabilities.
docstring_summary: Get a list of num_components batchwise probabilities.
docstring_tokens: Get a list of num_components batchwise probabilities .
function: def _cat_probs(self, log_probs):
      """Get a list of num_components batchwise probabilities."""
      which_softmax = nn_ops.log_softmax if log_probs else nn_ops.softmax
      cat_probs = which_softmax(self.cat.logits)
      cat_probs = array_ops.unpack(
          cat_probs, num=self.num_components, axis=-1)
      return cat_probs
function_tokens: def _cat_probs ( self , log_probs ) : which_softmax = nn_ops . log_softmax if log_probs else nn_ops . softmax cat_probs = which_softmax ( self . cat . logits ) cat_probs = array_ops . unpack ( cat_probs , num = self . num_components , axis = - 1 ) return cat_probs