﻿brainpy.synouts.MgBlock
=======================

.. currentmodule:: brainpy.synouts

.. autoclass:: MgBlock

   
   .. automethod:: __init__

   
   .. rubric:: Methods

   .. autosummary::
   
      ~MgBlock.__init__
      ~MgBlock.add_aft_update
      ~MgBlock.add_bef_update
      ~MgBlock.add_inp_fun
      ~MgBlock.clear_input
      ~MgBlock.clone
      ~MgBlock.cpu
      ~MgBlock.cuda
      ~MgBlock.desc
      ~MgBlock.filter
      ~MgBlock.get_aft_update
      ~MgBlock.get_bef_update
      ~MgBlock.get_delay_data
      ~MgBlock.get_delay_var
      ~MgBlock.get_inp_fun
      ~MgBlock.get_local_delay
      ~MgBlock.has_aft_update
      ~MgBlock.has_bef_update
      ~MgBlock.jit_step_run
      ~MgBlock.load_state
      ~MgBlock.load_state_dict
      ~MgBlock.nodes
      ~MgBlock.register_delay
      ~MgBlock.register_implicit_nodes
      ~MgBlock.register_implicit_vars
      ~MgBlock.register_local_delay
      ~MgBlock.register_master
      ~MgBlock.reset
      ~MgBlock.reset_local_delays
      ~MgBlock.reset_state
      ~MgBlock.save_state
      ~MgBlock.setattr
      ~MgBlock.state_dict
      ~MgBlock.step_run
      ~MgBlock.sum_current_inputs
      ~MgBlock.sum_delta_inputs
      ~MgBlock.sum_inputs
      ~MgBlock.to
      ~MgBlock.tpu
      ~MgBlock.tracing_variable
      ~MgBlock.train_vars
      ~MgBlock.tree_flatten
      ~MgBlock.tree_unflatten
      ~MgBlock.unique_name
      ~MgBlock.update
      ~MgBlock.update_local_delays
      ~MgBlock.vars
   
   

   
   
   .. rubric:: Attributes

   .. autosummary::
   
      ~MgBlock.after_updates
      ~MgBlock.before_updates
      ~MgBlock.cur_inputs
      ~MgBlock.current_inputs
      ~MgBlock.delta_inputs
      ~MgBlock.implicit_nodes
      ~MgBlock.implicit_vars
      ~MgBlock.isregistered
      ~MgBlock.mode
      ~MgBlock.name
      ~MgBlock.non_hashable_params
      ~MgBlock.supported_modes
      ~MgBlock.master
   
   