class_docstr: Configuration for Tao video dataset.
class_docstr_tok: ["Configuration","for","Tao","video","dataset","."]
docstr: The parameters specifying how the dataset will be processed.
  
  This allows the option to preprocess the images to a smaller fixed
  resolution. If height and width are left as None, the native size
  will be used.
  
  Args:
    height: optional height to resize all images to
    width: optional width to resize all images to
    **kwargs: Passed on to the constructor of `BuilderConfig`.
docstr_tok: ["The","parameters","specifying","how","the","dataset","will","be","processed",".","This","allows","the","option","to","preprocess","the","images","to","a","smaller","fixed","resolution",".","If","height","and","width","are","left","as","None",",","the","native","size","will","be","used",".","Args",":","height",":","optional","height","to","resize","all","images","to","width",":","optional","width","to","resize","all","images","to","*","*","kwargs",":","Passed","on","to","the","constructor","of","`","BuilderConfig","`","."]
code: def __init__(
      self,
      *,
      height: Optional[int] = None,
      width: Optional[int] = None,
      **kwargs,
  ):
      """The parameters specifying how the dataset will be processed.
  
      This allows the option to preprocess the images to a smaller fixed
      resolution. If height and width are left as None, the native size
      will be used.
  
      Args:
        height: optional height to resize all images to
        width: optional width to resize all images to
        **kwargs: Passed on to the constructor of `BuilderConfig`.
      """
      super(TaoConfig, self).__init__(**kwargs)
      if height is not None or width is not None:
          if height is None or width is None:
              raise ValueError(
                  "Provide either both height and width or None."
              )
      self.height = height
      self.width = width
  
imports: from __future__ import annotations
  import collections
  import json
  import os
  from typing import Any, Dict, Optional, Tuple
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new TaoConfig object from inherited base classes: tfds.core with example: obj = TaoConfig()