class_docstr: Higher level block for ResNet implementation.
class_docstr_tok: ["Higher","level","block","for","ResNet","implementation","."]
code: def __call__(self, inputs: tf.Tensor) -> tf.Tensor:
      # Downscale the inputs.
      conv_out = self._downscale(inputs)
  
      # Apply (sequence of) residual block(s).
      for i in range(self._num_blocks):
          block_input = conv_out
          conv_out = self._activation(conv_out)
          conv_out = self._convs[i][0](conv_out)
          conv_out = self._activation(conv_out)
          conv_out = self._convs[i][1](conv_out)
          conv_out += block_input
      return conv_out
  
file_path: acme/acme/tf/networks/vision.py
imports: from typing import Callable, Optional, Sequence, Union
  import sonnet
  import tensorflow
label_desc: Use image node_id 2 for calling the ResidualBlockGroup obj's underlying member method code with example usage: obj.__call__(inputs) and returns: conv_out