class_docstr: Basic full-connected layer.
code: def call(self, inputs):
      rank = inputs.shape.ndims
      if rank > 2:
          outputs = tf.tensordot(inputs, self.kernel, [[rank - 1], [0]])
      else:
          outputs = tf.matmul(inputs, self.kernel)
      if self.use_bias:
          outputs = tf.nn.bias_add(outputs, self.bias)
      if self.activation:
          outputs = self.activation(outputs)
      return outputs
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import tensorflow
  from tensorflow.python.util import nest
label_desc: Use image node_id 3 for calling the Dense obj's underlying member method code with example usage: obj.call(inputs) and returns: outputs