Flatten ======= .. currentmodule:: lib.model.networks.insightface_resnet .. autoclass:: Flatten :show-inheritance: :noindex: .. rubric:: Attributes Summary .. autosummary:: ~Flatten.T_destination ~Flatten.call_super_init ~Flatten.dump_patches .. rubric:: Methods Summary .. autosummary:: ~Flatten.__call__ ~Flatten.add_module ~Flatten.apply ~Flatten.bfloat16 ~Flatten.buffers ~Flatten.children ~Flatten.compile ~Flatten.cpu ~Flatten.cuda ~Flatten.double ~Flatten.eval ~Flatten.extra_repr ~Flatten.float ~Flatten.forward ~Flatten.get_buffer ~Flatten.get_extra_state ~Flatten.get_parameter ~Flatten.get_submodule ~Flatten.half ~Flatten.ipu ~Flatten.load_state_dict ~Flatten.modules ~Flatten.mtia ~Flatten.named_buffers ~Flatten.named_children ~Flatten.named_modules ~Flatten.named_parameters ~Flatten.parameters ~Flatten.register_backward_hook ~Flatten.register_buffer ~Flatten.register_forward_hook ~Flatten.register_forward_pre_hook ~Flatten.register_full_backward_hook ~Flatten.register_full_backward_pre_hook ~Flatten.register_load_state_dict_post_hook ~Flatten.register_load_state_dict_pre_hook ~Flatten.register_module ~Flatten.register_parameter ~Flatten.register_state_dict_post_hook ~Flatten.register_state_dict_pre_hook ~Flatten.requires_grad_ ~Flatten.set_extra_state ~Flatten.set_submodule ~Flatten.share_memory ~Flatten.state_dict ~Flatten.to ~Flatten.to_empty ~Flatten.train ~Flatten.type ~Flatten.xpu ~Flatten.zero_grad .. rubric:: Attributes Documentation .. autoattribute:: T_destination .. autoattribute:: call_super_init .. autoattribute:: dump_patches .. rubric:: Methods Documentation .. automethod:: __call__ .. automethod:: add_module .. automethod:: apply .. automethod:: bfloat16 .. automethod:: buffers .. automethod:: children .. automethod:: compile .. automethod:: cpu .. automethod:: cuda .. automethod:: double .. automethod:: eval .. automethod:: extra_repr .. automethod:: float .. automethod:: forward .. automethod:: get_buffer .. automethod:: get_extra_state .. automethod:: get_parameter .. automethod:: get_submodule .. automethod:: half .. automethod:: ipu .. automethod:: load_state_dict .. automethod:: modules .. automethod:: mtia .. automethod:: named_buffers .. automethod:: named_children .. automethod:: named_modules .. automethod:: named_parameters .. automethod:: parameters .. automethod:: register_backward_hook .. automethod:: register_buffer .. automethod:: register_forward_hook .. automethod:: register_forward_pre_hook .. automethod:: register_full_backward_hook .. automethod:: register_full_backward_pre_hook .. automethod:: register_load_state_dict_post_hook .. automethod:: register_load_state_dict_pre_hook .. automethod:: register_module .. automethod:: register_parameter .. automethod:: register_state_dict_post_hook .. automethod:: register_state_dict_pre_hook .. automethod:: requires_grad_ .. automethod:: set_extra_state .. automethod:: set_submodule .. automethod:: share_memory .. automethod:: state_dict .. automethod:: to .. automethod:: to_empty .. automethod:: train .. automethod:: type .. automethod:: xpu .. automethod:: zero_grad