def METHOD_NAME(self, encoded_data, return_as_datetime=False):
    ret = []
    if len(encoded_data.shape) > 2 and encoded_data.shape[0] == 1:
        encoded_data = encoded_data.squeeze(0)
    for vector in encoded_data.tolist():
        ret.append(self.decode_one(vector, return_as_datetime=return_as_datetime))
    return ret