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