def build_network(self):
    self.inputs = tf.placeholder(tf.float32, self.input_shape, name='inputs')
    self.labels = tf.placeholder(tf.int64, self.output_shape, name='labels')
    self.predictions = self.inference(self.inputs)
    self.cal_loss()
def build_network(self):
    self.inputs = tf.placeholder(tf.float32, self.input_shape, name='inputs')
    self.labels = tf.placeholder(tf.int64, self.output_shape, name='labels')
    self.predictions = self.inference(self.inputs)
    self.cal_loss()