def METHOD_NAME(arch, encoding_type=EncodingType.PATH):
    spec = arch.get_spec()
    if encoding_type == EncodingType.PATH:
        return encode_paths(spec=spec)
    elif encoding_type == EncodingType.ADJACENCY_ONE_HOT:
        return encode_adj(spec=spec)
    elif encoding_type == EncodingType.GCN:
        return encode_gcn(spec=spec)
    elif encoding_type == EncodingType.SEMINAS:
        return encode_seminas(spec=spec)
    elif encoding_type == EncodingType.BONAS:
        return encode_bonas(spec=spec)
    else:
        print(
            "{} is not yet implemented as an encoding type \
         for nb101".format(
                encoding_type
            )
        )
        raise NotImplementedError()