'Build the whole symbolic graph.
Args:
inputs (list[tf.Tensor] or InputSource): a list of tensors, or an :class:`InputSource`,
that match the list of :class:`InputDesc` defined by ``_get_inputs``.'

def build_graph(self, inputs):

    if isinstance(inputs, InputSource):
        inputs = inputs.get_input_tensors()
    assert (len(inputs) == len(self.get_inputs_desc())), 'Number    of    inputs    passed    to    the    graph    !=    number    of    inputs    defined    in    ModelDesc!    ({}    !=    {})'.format(len(inputs), len(self.get_inputs_desc()))
    self._build_graph(inputs)
