docstr: Initialize any stateful variables for decoding a new sequence
docstr_tok: ["Initialize","any","stateful","variables","for","decoding","a","new","sequence"]
code: def reset(self):
      """Initialize any stateful variables for decoding a new sequence"""
  
imports: from dataclasses import dataclass, field, replace
  from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Sequence, Tuple, Union
  import numpy
  import torch
  import torch.nn.functional
  from torch import Tensor
  from torch.distributions import Categorical
  from .audio import CHUNK_LENGTH
  from .tokenizer import Tokenizer, get_tokenizer
  from .utils import compression_ratio
label_desc: Use image node_id 1 for calling the TokenDecoder obj's underlying member method code with example usage: obj.reset() without return types