class_docstr: Categorical probability distribution
code: def fromflat(cls, flat):
      return cls(flat)
  
imports: import tensorflow.compat.v1
  from .util import fc
label_desc: Use image node_id 9 for calling the CategoricalPd obj's underlying member method code with example usage: obj.fromflat(cls, flat) and returns: cls