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