dmx.compressor.modeling.nn.torch\_modules.Tanh ============================================== .. currentmodule:: dmx.compressor.modeling.nn.torch_modules .. autoclass:: Tanh .. automethod:: __init__ .. rubric:: Methods .. autosummary:: ~Tanh.__init__ ~Tanh.add_module ~Tanh.align_device ~Tanh.apply ~Tanh.approx_forward ~Tanh.approximator_wrapper ~Tanh.bfloat16 ~Tanh.buffers ~Tanh.calibrating_quantizers ~Tanh.calibrating_smoothquant ~Tanh.check_format_dim_consistency ~Tanh.check_input_format_dim_consistency ~Tanh.check_residual_format_dim_consistency ~Tanh.check_sparseness_dim_consistency ~Tanh.check_weight_format_dim_consistency ~Tanh.children ~Tanh.compile ~Tanh.configure ~Tanh.count_flops ~Tanh.counting_flops ~Tanh.cpu ~Tanh.cuda ~Tanh.dmx_config ~Tanh.double ~Tanh.enable_approximation_function_tuning ~Tanh.enable_flop_counter ~Tanh.enable_optimal_brain_compression ~Tanh.enable_quantizer_calib ~Tanh.enable_smoothquant_calib ~Tanh.eval ~Tanh.extra_repr ~Tanh.float ~Tanh.fold_weight_and_bias ~Tanh.forward ~Tanh.from_raw ~Tanh.get_buffer ~Tanh.get_extra_state ~Tanh.get_parameter ~Tanh.get_submodule ~Tanh.half ~Tanh.infer_ch_axis ~Tanh.init_casts ~Tanh.init_smoothquant ~Tanh.init_sparsifier ~Tanh.ipu ~Tanh.load_state_dict ~Tanh.load_state_dict_and_register_url ~Tanh.measuring_runtime ~Tanh.modules ~Tanh.monitoring ~Tanh.mtia ~Tanh.named_buffers ~Tanh.named_children ~Tanh.named_modules ~Tanh.named_parameters ~Tanh.optimal_brain_compressing ~Tanh.parameters ~Tanh.register_backward_hook ~Tanh.register_buffer ~Tanh.register_forward_hook ~Tanh.register_forward_pre_hook ~Tanh.register_full_backward_hook ~Tanh.register_full_backward_pre_hook ~Tanh.register_load_state_dict_post_hook ~Tanh.register_load_state_dict_pre_hook ~Tanh.register_module ~Tanh.register_parameter ~Tanh.register_state_dict_post_hook ~Tanh.register_state_dict_pre_hook ~Tanh.requires_grad_ ~Tanh.save_state_dict_and_register_url ~Tanh.set_extra_state ~Tanh.set_submodule ~Tanh.share_memory ~Tanh.slanc_tuning ~Tanh.state_dict ~Tanh.to ~Tanh.to_compiler_graph ~Tanh.to_empty ~Tanh.train ~Tanh.transform ~Tanh.tuning_approximation_function ~Tanh.type ~Tanh.update_params_with_raw ~Tanh.update_smoothquant_scale ~Tanh.xpu ~Tanh.zero_flop_counter ~Tanh.zero_grad .. rubric:: Attributes .. autosummary:: ~Tanh.T_destination ~Tanh.accum_format ~Tanh.approximation_function ~Tanh.bias_format ~Tanh.bops ~Tanh.call_super_init ~Tanh.dump_patches ~Tanh.effective_weight ~Tanh.flop_counter ~Tanh.flop_counter_enabled ~Tanh.flops ~Tanh.functional_forward ~Tanh.input_formats ~Tanh.input_precision ~Tanh.is_compound ~Tanh.last_input_shape ~Tanh.last_output_shape ~Tanh.multiplier_format ~Tanh.output_formats ~Tanh.plugins ~Tanh.residual_format ~Tanh.weight_elem_count ~Tanh.weight_format ~Tanh.weight_hypernet ~Tanh.weight_precision ~Tanh.weight_scale ~Tanh.weight_size_in_bytes ~Tanh.weight_sparseness ~Tanh.weight_storage_format ~Tanh.weight_storage_precision ~Tanh.weight_storage_scale ~Tanh.weight_storage_zero_point ~Tanh.weight_zero_point ~Tanh.training