ApplyRoPE
=========

.. currentmodule:: penzai.nn.embeddings

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


  
  
    
    
    

  

  
  
  
  
  
  
  
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  
  .. rubric:: Methods
  .. autosummary::
  
    
    ~ApplyRoPE.__init__
    
    
    
    
    ~ApplyRoPE.from_config
    
    
    ~ApplyRoPE.input_structure
    
    
    
    ~ApplyRoPE.output_structure
    
    
    
    
    
    
    
    ~ApplyRoPE.__call__
    
  

  
  .. rubric:: Attributes
  .. autosummary::
  
    ~ApplyRoPE.embedding_axis
    ~ApplyRoPE.max_wavelength
    ~ApplyRoPE.positions
  

  

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

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

  .. autosummary::
  
    
    
    ~ApplyRoPE.attributes_dict
    
    
    ~ApplyRoPE.from_attributes
    
    
    
    
    ~ApplyRoPE.key_for_field
    
    
    
    ~ApplyRoPE.select
    
    
    ~ApplyRoPE.tree_flatten
    
    
    ~ApplyRoPE.tree_flatten_with_keys
    
    
    ~ApplyRoPE.tree_unflatten
    
    
    ~ApplyRoPE.treescope_color
    
    

  .. raw:: html

    </details>

  