class_docstr: To create CategoricalPd
docstr: add fc and create CategoricalPd
docstr_tok: ["add","fc","and","create","CategoricalPd"]
code: def pdfromlatent(self, latent_vector, init_scale=1.0, init_bias=0.0):
      """add fc and create CategoricalPd"""
      pdparam, mask, mask_npinf = _matching_fc(
          latent_vector,
          "pi",
          self.ncat,
          self.nsteps,
          init_scale=init_scale,
          init_bias=init_bias,
          np_mask=self.np_mask,
          is_act_model=self.is_act_model,
      )
      return (
          self.pdfromflat(
              pdparam,
              mask_npinf,
              self.nsteps,
              self.ncat,
              self.is_act_model,
          ),
          pdparam,
          mask,
          mask_npinf,
      )
  
imports: import tensorflow.compat.v1
  from .util import fc
label_desc: Use image node_id 3 for calling the CategoricalPdType obj's underlying member method code with example usage: obj.pdfromlatent(latent_vector, init_scale, init_bias) and returns: self,  pdparam,  mask,  mask_npinf