class_docstr: A Type wrapper for `numpy.random.Generator` and `numpy.random.RandomState`.
class_docstr_tok: ["A","Type","wrapper","for","`","numpy.random.Generator","`","and","`","numpy.random.RandomState","`","."]
code: def may_share_memory(a: T, b: T):
      return a._bit_generator is b._bit_generator
  
imports: from typing import TypeVar
  import numpy
  import pytensor
  from pytensor.graph.type import Type
label_desc: Use image node_id 1 for calling the RandomType obj's underlying member method code with example usage: obj.may_share_memory(a, b) and returns: unknown