class_docstr: Block Decoder for readability,
  straight from the official TensorFlow repository.
class_docstr_tok: ["Block","Decoder","for","readability",",","straight","from","the","official","TensorFlow","repository","."]
docstr: Encode a list of BlockArgs to a list of strings.
  
  Args:
      blocks_args (list[namedtuples]): A list of BlockArgs namedtuples of block args.
  
  Returns:
      block_strings: A list of strings, each string is a notation of block.
docstr_tok: ["Encode","a","list","of","BlockArgs","to","a","list","of","strings",".","Args",":","blocks_args","(","list","[","namedtuples","]",")",":","A","list","of","BlockArgs","namedtuples","of","block","args",".","Returns",":","block_strings",":","A","list","of","strings",",","each","string","is","a","notation","of","block","."]
code: def encode(blocks_args):
      """Encode a list of BlockArgs to a list of strings.
  
      Args:
          blocks_args (list[namedtuples]): A list of BlockArgs namedtuples of block args.
  
      Returns:
          block_strings: A list of strings, each string is a notation of block.
      """
      block_strings = []
      for block in blocks_args:
          block_strings.append(BlockDecoder._encode_block_string(block))
      return block_strings
  
imports: import re
  import math
  import collections
  from functools import partial
  import torch
  from torch import nn
  from torch.nn import functional
  from torch.utils import model_zoo
label_desc: Use image node_id 4 for calling the BlockDecoder obj's underlying member method code with example usage: obj.encode(blocks_args) and returns: block_strings