class_docstr: Base class for image ops that require a random seed.
class_docstr_tok: ["Base","class","for","image","ops","that","require","a","random","seed","."]
docstr: Return the transformed image. The op can consume the seed.
docstr_tok: ["Return","the","transformed","image",".","The","op","can","consume","the","seed","."]
code: def apply(
      self, image: tf.Tensor, seed: tf.Tensor
  ) -> tf.Tensor:  # pytype: disable=signature-mismatch
      """Return the transformed image. The op can consume the seed."""
      pass
  
imports: import abc
  import dataclasses
  from typing import Optional, Sequence, Tuple, Union
  from clu import preprocess_spec
  from scenic.projects.owl_vit.preprocessing import modalities
  from scenic.projects.owl_vit.preprocessing import transforms
  import tensorflow
label_desc: Use image node_id 2 for calling the RandomImagePreprocessOp obj's underlying member method code with example usage: obj.apply(image, seed) without return types