def _ComputeViolatingInstances(ipolicy, instances, cfg):
  return frozenset([inst.name for inst in instances
                    if ComputeIPolicyInstanceViolation(ipolicy, inst, cfg)])
Convert each sentence into integer list according to the vocab.
dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/common.py/_ComputeViolatingInstances--crossover with--dataset/ETHPy150Open yuhaozhang/nnjm-global/code/io_vocab.py/get_mapped_sentence