1、create_named_schedule_sampler
create_named_schedule_sampler来根据名称创建不同类型的 ScheduleSampler 实例,并给出了两个具体的子类示例,UniformSampler和 LossSecondMomentResampler
schedule_sampler = create_named_schedule_sampler(args.schedule_sampler, diffusion)
def create_named_schedule_sampler(