class_docstr: ConvNet classifier.
class_docstr_tok: ["ConvNet","classifier","."]
code: def _build(self, x):
      h = x
      for unused_i, l in enumerate(self.layers):
          h = tf.nn.relu(snt.Conv2D(l[0], l[1], l[2])(h))
  
      h_shape = h.get_shape().as_list()
      h = tf.reshape(h, [-1, h_shape[1] * h_shape[2] * h_shape[3]])
      logits = snt.Linear(self.output_size)(h)
      return logits
  
imports: import numpy
  import sonnet
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the ClassifierConv obj's underlying member method code with example usage: obj._build(x) and returns: logits