class_docstr: Basic fully-connected + ReLU model.
code: def body(self, features):
      hparams = self.hparams
      x = features["inputs"]
      shape = common_layers.shape_list(x)
      x = tf.reshape(x, [-1, shape[1] * shape[2] * shape[3]])
      for i in range(hparams.num_hidden_layers):
          x = tf.layers.dense(
              x, hparams.hidden_size, name="layer_%d" % i
          )
          x = tf.nn.dropout(x, keep_prob=1.0 - hparams.dropout)
          x = tf.nn.relu(x)
      return tf.expand_dims(tf.expand_dims(x, axis=1), axis=1)
  
file_path: tensor2tensor/tensor2tensor/models/basic.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.layers import common_layers
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import t2t_model
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the BasicFcRelu obj's underlying member method code with example usage: obj.body(features) and returns: tf