code: def _build_user_inputs(self, train=True):
      super(UserPMF, self)._build_user_inputs(train)
      if train:
          self._add_input(
              name="user_feature",
              dtype="float32",
              shape=[self._batch_size, self._user_f_source.shape[1]],
          )
      else:
          self._add_input(
              name="user_feature",
              dtype="float32",
              shape=[None, self._user_f_source.shape[1]],
              train=False,
          )
  
file_path: openrec/openrec/tf1/legacy/recommenders/user_pmf.py
imports: from openrec.tf1.legacy.recommenders import PMF
  from openrec.tf1.legacy.modules.extractions import MultiLayerFC
  from openrec.tf1.legacy.modules.fusions import Average
label_desc: Use image node_id 2 for calling the UserPMF obj's underlying member method code with example usage: obj._build_user_inputs(train) without return types