ApplyCausalAttentionMask
========================

.. currentmodule:: penzai.experimental.v2.nn.attention

.. autoclass:: ApplyCausalAttentionMask
  :members:
  :special-members:
  :show-inheritance:


  
  
    
    
    
    
    

  

  
  
  
  
  
  
  
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  
  .. rubric:: Methods
  .. autosummary::
  
    
    ~ApplyCausalAttentionMask.__init__
    
    
    
    
    
    
    
    
    
    
    
    
    ~ApplyCausalAttentionMask.__call__
    
  

  
  .. rubric:: Attributes
  .. autosummary::
  
    ~ApplyCausalAttentionMask.kv_positions_input_name
    ~ApplyCausalAttentionMask.kv_seq_axis
    ~ApplyCausalAttentionMask.query_positions_input_name
    ~ApplyCausalAttentionMask.seq_axis
    ~ApplyCausalAttentionMask.masked_out_value
  

  

  .. rubric:: Inherited Methods
  .. raw:: html

    <details style="margin-bottom: 1.5rem">
      <summary style="font-style:italic">(expand to view inherited methods)</summary>

  .. autosummary::
  
    
    
    ~ApplyCausalAttentionMask.attributes_dict
    
    
    ~ApplyCausalAttentionMask.bind_variables
    
    
    ~ApplyCausalAttentionMask.from_attributes
    
    
    ~ApplyCausalAttentionMask.key_for_field
    
    
    ~ApplyCausalAttentionMask.select
    
    
    ~ApplyCausalAttentionMask.stateless_call
    
    
    ~ApplyCausalAttentionMask.tree_flatten
    
    
    ~ApplyCausalAttentionMask.tree_flatten_with_keys
    
    
    ~ApplyCausalAttentionMask.tree_unflatten
    
    
    ~ApplyCausalAttentionMask.treescope_color
    
    

  .. raw:: html

    </details>

  