mighty.loss.ContrastiveLossSampler ================================== .. currentmodule:: mighty.loss .. autoclass:: ContrastiveLossSampler :members: :inherited-members: :special-members: __call__ .. rubric:: Methods .. autosummary:: ~ContrastiveLossSampler.__init__ ~ContrastiveLossSampler.add_module ~ContrastiveLossSampler.apply ~ContrastiveLossSampler.bfloat16 ~ContrastiveLossSampler.buffers ~ContrastiveLossSampler.children ~ContrastiveLossSampler.compile ~ContrastiveLossSampler.cpu ~ContrastiveLossSampler.cuda ~ContrastiveLossSampler.double ~ContrastiveLossSampler.eval ~ContrastiveLossSampler.extra_repr ~ContrastiveLossSampler.float ~ContrastiveLossSampler.forward ~ContrastiveLossSampler.get_buffer ~ContrastiveLossSampler.get_extra_state ~ContrastiveLossSampler.get_parameter ~ContrastiveLossSampler.get_submodule ~ContrastiveLossSampler.half ~ContrastiveLossSampler.ipu ~ContrastiveLossSampler.load_state_dict ~ContrastiveLossSampler.modules ~ContrastiveLossSampler.named_buffers ~ContrastiveLossSampler.named_children ~ContrastiveLossSampler.named_modules ~ContrastiveLossSampler.named_parameters ~ContrastiveLossSampler.pairs_to_sample ~ContrastiveLossSampler.parameters ~ContrastiveLossSampler.register_backward_hook ~ContrastiveLossSampler.register_buffer ~ContrastiveLossSampler.register_forward_hook ~ContrastiveLossSampler.register_forward_pre_hook ~ContrastiveLossSampler.register_full_backward_hook ~ContrastiveLossSampler.register_full_backward_pre_hook ~ContrastiveLossSampler.register_load_state_dict_post_hook ~ContrastiveLossSampler.register_module ~ContrastiveLossSampler.register_parameter ~ContrastiveLossSampler.register_state_dict_pre_hook ~ContrastiveLossSampler.requires_grad_ ~ContrastiveLossSampler.set_extra_state ~ContrastiveLossSampler.share_memory ~ContrastiveLossSampler.state_dict ~ContrastiveLossSampler.to ~ContrastiveLossSampler.to_empty ~ContrastiveLossSampler.train ~ContrastiveLossSampler.type ~ContrastiveLossSampler.xpu ~ContrastiveLossSampler.zero_grad .. rubric:: Attributes .. autosummary:: ~ContrastiveLossSampler.T_destination ~ContrastiveLossSampler.call_super_init ~ContrastiveLossSampler.dump_patches ~ContrastiveLossSampler.training