GemmaKVCachingInputs
====================

.. currentmodule:: penzai.deprecated.v1.example_models.gemma.sampling_mode

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


  
  
    
    
    
    

  

  
  
  
  
  
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  
  .. rubric:: Methods
  .. autosummary::
  
    
    ~GemmaKVCachingInputs.__init__
    
    
    
    
    ~GemmaKVCachingInputs.from_basic_subsegments
    
    
    
    
    
    
    
  

  
  .. rubric:: Attributes
  .. autosummary::
  
    ~GemmaKVCachingInputs.tokens
    ~GemmaKVCachingInputs.positions
    ~GemmaKVCachingInputs.attention_mask
    ~GemmaKVCachingInputs.sampling_state
  

  

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

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

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

  .. raw:: html

    </details>

  