def METHOD_NAME(self):
    """Returns definitions of module output ports.
    """
    if self.time_first:
        return {
            "x": NeuralType(('B', 'T', 'D'), EncodedRepresentation()),
            "quantize_prob_ppl": NeuralType(elements_type=LossType()),
        }
    return {
        "x": NeuralType(('B', 'D', 'T'), EncodedRepresentation()),
        "quantize_prob_ppl": NeuralType(elements_type=LossType()),
    }