def answer_probabilities(self, *args, **kwargs):
        input = self.input_layer.output(*args, **kwargs)
        input_clipped = T.maximum(input, 0) # T.clip(input, 0, 1) # T.maximum(input, 0)

        normalisation_denoms = T.dot(input_clipped, self.normalisation_mask) + 1e-12 # small constant to prevent division by 0
        input_normalised = input_clipped / normalisation_denoms

        return input_normalised
        # return [input_normalised[:, s] for s in self.question_slices]

    # def weighted_answer_probabilities(self, *args, **kwargs):
    #     answer_probabilities = self.answer_probabilities(*args, **kwargs)
        
    #     log_scale_factors = T.dot(T.log(answer_probabilities), self.scaling_mask)
    #     scale_factors = T.exp(T.switch(T.isnan(log_scale_factors), -np.inf, log_scale_factors)) # need NaN shielding here because 0 * -inf = NaN.

    #     return answer_probabilities * scale_factors
Convert a string to uppercase, removing any intonation
dataset/ETHPy150Open benanne/kaggle-galaxies/custom.py/OptimisedDivGalaxyOutputLayer.answer_probabilities--crossover with--dataset/ETHPy150Open Wtower/django-ninecms/ninecms/templatetags/ninecms_extras.py/upper_no_intonation