parameters: (self, concentration, validate_args)
return_statement: return control_flow_ops.with_dependencies([
          check_ops.assert_positive(
              concentration,
              message="Concentration parameter must be positive."),
      ], concentration)
docstring: Checks the validity of the concentration parameter.
docstring_summary: Checks the validity of the concentration parameter.
docstring_tokens: Checks the validity of the concentration parameter .
function: def _maybe_assert_valid_concentration(self, concentration, validate_args):
      """Checks the validity of the concentration parameter."""
      if not validate_args:
        return concentration
      concentration = distribution_util.embed_check_categorical_event_shape(
          concentration)
      return control_flow_ops.with_dependencies([
          check_ops.assert_positive(
              concentration,
              message="Concentration parameter must be positive."),
      ], concentration)
function_tokens: def _maybe_assert_valid_concentration ( self , concentration , validate_args ) : if not validate_args : return concentration concentration = distribution_util . embed_check_categorical_event_shape ( concentration ) return control_flow_ops . with_dependencies ( [ check_ops . assert_positive ( concentration , message = "Concentration parameter must be positive." ) , ] , concentration )