def multinomial_sample(p, k=1):
    return MultinomialSampler(p).sample(k)
Convert a MAC address into a PXE config file name.
dataset/ETHPy150Open ml-slac/deep-jets/utils/sampling.py/multinomial_sample--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/common/pxe_utils.py/_get_pxe_mac_path