def METHOD_NAME(self, inputs: Dict[str, torch.Tensor]):
    encoder_outputs = {}
    for input_feature_name, input_values in inputs.items():
        encoder = self.input_features.get(input_feature_name)
        encoder_output = encoder(input_values)
        encoder_outputs[input_feature_name] = encoder_output[ENCODER_OUTPUT]
    return encoder_outputs