Sampler

    0

    0

    lucycodes42

    Pytorch Public Recipes

    Library: pytorch

    Shortcut: pytorch.sampler

    sampler = torch.utils.data.Sampler(data_source),SequantialSample(data_source),RandomSampler(data_source),SubsetRandomSampler(indicies),WeightedRandomSampler(weights\, num_samples),BatchSampler(sampler\, batch_size\, drop_last),distributed.DistributedSampler(dataset)
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.