Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 1.42 KB

uniport.model.layer.Block.rst

File metadata and controls

73 lines (56 loc) · 1.42 KB

uniport.model.layer.Block

.. currentmodule:: uniport.model.layer

.. autoclass:: Block


   .. automethod:: __init__


   .. rubric:: Methods

   .. autosummary::

      ~Block.__init__
      ~Block.add_module
      ~Block.apply
      ~Block.bfloat16
      ~Block.buffers
      ~Block.children
      ~Block.cpu
      ~Block.cuda
      ~Block.double
      ~Block.eval
      ~Block.extra_repr
      ~Block.float
      ~Block.forward
      ~Block.get_buffer
      ~Block.get_extra_state
      ~Block.get_parameter
      ~Block.get_submodule
      ~Block.half
      ~Block.ipu
      ~Block.load_state_dict
      ~Block.modules
      ~Block.named_buffers
      ~Block.named_children
      ~Block.named_modules
      ~Block.named_parameters
      ~Block.parameters
      ~Block.register_backward_hook
      ~Block.register_buffer
      ~Block.register_forward_hook
      ~Block.register_forward_pre_hook
      ~Block.register_full_backward_hook
      ~Block.register_load_state_dict_post_hook
      ~Block.register_module
      ~Block.register_parameter
      ~Block.requires_grad_
      ~Block.set_extra_state
      ~Block.share_memory
      ~Block.state_dict
      ~Block.to
      ~Block.to_empty
      ~Block.train
      ~Block.type
      ~Block.xpu
      ~Block.zero_grad





   .. rubric:: Attributes

   .. autosummary::

      ~Block.T_destination
      ~Block.dump_patches
      ~Block.training