class_docstr: Build Trunk Blocks for Efficient/Mobile Networks
  
  This ended up being somewhat of a cross between
  https://github.com/tensorflow/tpu/blob/master/models/official/mnasnet/mnasnet_models.py
  and
  https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/maskrcnn_benchmark/modeling/backbone/fbnet_builder.py
class_docstr_tok: ["Build","Trunk","Blocks","for","Efficient\/Mobile","Networks","This","ended","up","being","somewhat","of","a","cross","between","https",":","\/\/github.com\/tensorflow\/tpu\/blob\/master\/models\/official\/mnasnet\/mnasnet_models.py","and","https",":","\/\/github.com\/facebookresearch\/maskrcnn-benchmark\/blob\/master\/maskrcnn_benchmark\/modeling\/backbone\/fbnet_builder.py"]
docstr: Build the blocks
  Args:
      in_chs: Number of input-channels passed to first block
      block_args: A list of lists, outer list defines stages, inner
          list contains strings defining block configuration(s)
  Return:
       List of block stacks (each stack wrapped in nn.Sequential)
docstr_tok: ["Build","the","blocks","Args",":","in_chs",":","Number","of","input-channels","passed","to","first","block","block_args",":","A","list","of","lists",",","outer","list","defines","stages",",","inner","list","contains","strings","defining","block","configuration","(","s",")","Return",":","List","of","block","stacks","(","each","stack","wrapped","in","nn.Sequential",")"]
code: def __call__(self, in_chs, block_args):
      """Build the blocks
      Args:
          in_chs: Number of input-channels passed to first block
          block_args: A list of lists, outer list defines stages, inner
              list contains strings defining block configuration(s)
      Return:
           List of block stacks (each stack wrapped in nn.Sequential)
      """
      self.in_chs = in_chs
      self.block_count = sum([len(x) for x in block_args])
      self.block_idx = 0
      blocks = []
      # outer list of block_args defines the stacks ('stages' by some conventions)
      for stack_idx, stack in enumerate(block_args):
          assert isinstance(stack, list)
          stack = self._make_stack(stack)
          blocks.append(stack)
      return blocks
  
imports: import re
  from copy import deepcopy
  from .conv2d_layers import *
  from geffnet.activations import *
label_desc: Use image node_id 5 for calling the EfficientNetBuilder obj's underlying member method code with example usage: obj.__call__(in_chs, block_args) and returns: blocks