class_docstr: An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained
  models.
class_docstr_tok: ["An","abstract","class","to","handle","weights","initialization","and","a","simple","interface","for","downloading","and","loading","pretrained","models","."]
code: def serving(self, inputs):
      output = self.call(inputs)
  
      return self.serving_output(output)
  
imports: from dataclasses import dataclass
  from typing import Optional, Tuple, Union
  import tensorflow
  from ...modeling_tf_outputs import TFBaseModelOutputWithPooling
  from ...modeling_tf_utils import TFPreTrainedModel, get_initializer, shape_list, unpack_inputs
  from ...utils import ModelOutput, add_start_docstrings, add_start_docstrings_to_model_forward, logging, replace_return_docstrings
  from ..bert.modeling_tf_bert import TFBertMainLayer
  from .configuration_dpr import DPRConfig
label_desc: Use image node_id 1 for calling the TFDPRPretrainedReader obj's underlying member method code with example usage: obj.serving(inputs) and returns: self