class_docstr: Decoder for :class:`~ffcv.fields.RGBImageField` that performs a Random crop and and a resize operation.
  
  It supports both variable and constant resolution datasets.
  
  Parameters
  ----------
  output_size : Tuple[int]
      The desired resized resolution of the images
  scale : Tuple[float]
      The range of possible ratios (in area) than can randomly sampled
  ratio : Tuple[float]
      The range of potential aspect ratios that can be randomly sampled
class_docstr_tok: ["Decoder","for",":","class",":","`","~ffcv.fields.RGBImageField","`","that","performs","a","Random","crop","and","and","a","resize","operation",".","It","supports","both","variable","and","constant","resolution","datasets",".","Parameters","--","--","--","--","--","output_size",":","Tuple","[","int","]","The","desired","resized","resolution","of","the","images","scale",":","Tuple","[","float","]","The","range","of","possible","ratios","(","in","area",")","than","can","randomly","sampled","ratio",":","Tuple","[","float","]","The","range","of","potential","aspect","ratios","that","can","be","randomly","sampled"]
code: def __init__(
      self, output_size, scale=(0.08, 1.0), ratio=(0.75, 4 / 3)
  ):
      super().__init__(output_size)
      self.scale = scale
      self.ratio = ratio
      self.output_size = output_size
  
imports: from abc import ABCMeta, abstractmethod
  from dataclasses import replace
  from typing import Optional, Callable, TYPE_CHECKING, Tuple, Type
  import cv2
  import numpy
  from numba.typed import Dict
  from PIL.Image import Image
  from .base import Field, ARG_TYPE
  from ..pipeline.operation import Operation
  from ..pipeline.state import State
  from ..pipeline.compiler import Compiler
  from ..pipeline.allocation_query import AllocationQuery
  from ..libffcv import imdecode, memcpy, resize_crop
label_desc: Use image node_id 1 to create a new RandomResizedCropRGBImageDecoder object from inherited base classes: ResizedCropRGBImageDecoder with example: obj = RandomResizedCropRGBImageDecoder(output_size, scale, ratio)