class_docstr: A particular probability distribution
code: def __getitem__(self, idx):
      return self.__class__(self.flatparam()[idx])
  
imports: import tensorflow.compat.v1
  from .util import fc
label_desc: Use image node_id 10 for calling the Pd obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: self