L2Normalize =========== .. currentmodule:: lib.model.layers .. autoclass:: L2Normalize :show-inheritance: :noindex: .. rubric:: Attributes Summary .. autosummary:: ~L2Normalize.T_destination ~L2Normalize.call_super_init ~L2Normalize.compute_dtype ~L2Normalize.dtype ~L2Normalize.dtype_policy ~L2Normalize.dump_patches ~L2Normalize.input ~L2Normalize.input_dtype ~L2Normalize.input_spec ~L2Normalize.losses ~L2Normalize.metrics ~L2Normalize.metrics_variables ~L2Normalize.non_trainable_variables ~L2Normalize.non_trainable_weights ~L2Normalize.output ~L2Normalize.path ~L2Normalize.quantization_mode ~L2Normalize.supports_masking ~L2Normalize.torch_params ~L2Normalize.trainable ~L2Normalize.trainable_variables ~L2Normalize.trainable_weights ~L2Normalize.variable_dtype ~L2Normalize.variables ~L2Normalize.weights .. rubric:: Methods Summary .. autosummary:: ~L2Normalize.__call__ ~L2Normalize.add_loss ~L2Normalize.add_metric ~L2Normalize.add_module ~L2Normalize.add_variable ~L2Normalize.add_weight ~L2Normalize.apply ~L2Normalize.bfloat16 ~L2Normalize.buffers ~L2Normalize.build ~L2Normalize.build_from_config ~L2Normalize.call ~L2Normalize.children ~L2Normalize.compile ~L2Normalize.compute_mask ~L2Normalize.compute_output_shape ~L2Normalize.compute_output_spec ~L2Normalize.count_params ~L2Normalize.cpu ~L2Normalize.cuda ~L2Normalize.double ~L2Normalize.eval ~L2Normalize.extra_repr ~L2Normalize.float ~L2Normalize.forward ~L2Normalize.from_config ~L2Normalize.get_buffer ~L2Normalize.get_build_config ~L2Normalize.get_config ~L2Normalize.get_extra_state ~L2Normalize.get_parameter ~L2Normalize.get_submodule ~L2Normalize.get_weights ~L2Normalize.half ~L2Normalize.ipu ~L2Normalize.load_own_variables ~L2Normalize.load_state_dict ~L2Normalize.modules ~L2Normalize.mtia ~L2Normalize.named_buffers ~L2Normalize.named_children ~L2Normalize.named_modules ~L2Normalize.named_parameters ~L2Normalize.parameters ~L2Normalize.quantize ~L2Normalize.quantized_build ~L2Normalize.quantized_call ~L2Normalize.register_backward_hook ~L2Normalize.register_buffer ~L2Normalize.register_forward_hook ~L2Normalize.register_forward_pre_hook ~L2Normalize.register_full_backward_hook ~L2Normalize.register_full_backward_pre_hook ~L2Normalize.register_load_state_dict_post_hook ~L2Normalize.register_load_state_dict_pre_hook ~L2Normalize.register_module ~L2Normalize.register_parameter ~L2Normalize.register_state_dict_post_hook ~L2Normalize.register_state_dict_pre_hook ~L2Normalize.rematerialized_call ~L2Normalize.requires_grad_ ~L2Normalize.save_own_variables ~L2Normalize.set_extra_state ~L2Normalize.set_submodule ~L2Normalize.set_weights ~L2Normalize.share_memory ~L2Normalize.state_dict ~L2Normalize.stateless_call ~L2Normalize.symbolic_call ~L2Normalize.to ~L2Normalize.to_empty ~L2Normalize.train ~L2Normalize.type ~L2Normalize.xpu ~L2Normalize.zero_grad .. rubric:: Attributes Documentation .. autoattribute:: T_destination .. autoattribute:: call_super_init .. autoattribute:: compute_dtype .. autoattribute:: dtype .. autoattribute:: dtype_policy .. autoattribute:: dump_patches .. autoattribute:: input .. autoattribute:: input_dtype .. autoattribute:: input_spec .. autoattribute:: losses .. autoattribute:: metrics .. autoattribute:: metrics_variables .. autoattribute:: non_trainable_variables .. autoattribute:: non_trainable_weights .. autoattribute:: output .. autoattribute:: path .. autoattribute:: quantization_mode .. autoattribute:: supports_masking .. autoattribute:: torch_params .. autoattribute:: trainable .. autoattribute:: trainable_variables .. autoattribute:: trainable_weights .. autoattribute:: variable_dtype .. autoattribute:: variables .. autoattribute:: weights .. rubric:: Methods Documentation .. automethod:: __call__ .. automethod:: add_loss .. automethod:: add_metric .. automethod:: add_module .. automethod:: add_variable .. automethod:: add_weight .. automethod:: apply .. automethod:: bfloat16 .. automethod:: buffers .. automethod:: build .. automethod:: build_from_config .. automethod:: call .. automethod:: children .. automethod:: compile .. automethod:: compute_mask .. automethod:: compute_output_shape .. automethod:: compute_output_spec .. automethod:: count_params .. automethod:: cpu .. automethod:: cuda .. automethod:: double .. automethod:: eval .. automethod:: extra_repr .. automethod:: float .. automethod:: forward .. automethod:: from_config .. automethod:: get_buffer .. automethod:: get_build_config .. automethod:: get_config .. automethod:: get_extra_state .. automethod:: get_parameter .. automethod:: get_submodule .. automethod:: get_weights .. automethod:: half .. automethod:: ipu .. automethod:: load_own_variables .. automethod:: load_state_dict .. automethod:: modules .. automethod:: mtia .. automethod:: named_buffers .. automethod:: named_children .. automethod:: named_modules .. automethod:: named_parameters .. automethod:: parameters .. automethod:: quantize .. automethod:: quantized_build .. automethod:: quantized_call .. 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:: rematerialized_call .. automethod:: requires_grad_ .. automethod:: save_own_variables .. automethod:: set_extra_state .. automethod:: set_submodule .. automethod:: set_weights .. automethod:: share_memory .. automethod:: state_dict .. automethod:: stateless_call .. automethod:: symbolic_call .. automethod:: to .. automethod:: to_empty .. automethod:: train .. automethod:: type .. automethod:: xpu .. automethod:: zero_grad