def _type_signature(self, inputs, output): input_type = _to_input_sig(inputs) output = validate_type(output) output_type = rules.scalar_output(output) return input_type, output_type
class Mean(Reduction): output_type = rules.scalar_output(_mean_output_type)
class Min(Reduction): output_type = rules.scalar_output(_min_max_output_rule)
class Sum(Reduction): output_type = rules.scalar_output(_sum_output_type)