class_docstr: A class of Mixnet decoder to get model configuration.
docstr: Encodes a list of Mixnet Blocks to a list of strings.
  
  Args:
  blocks_args: A list of namedtuples to represent Mixnet blocks arguments.
  Returns:
  a list of strings, each string is a notation of Mixnet block.
docstr_tok: ["Encodes","a","list","of","Mixnet","Blocks","to","a","list","of","strings",".","Args",":","blocks_args",":","A","list","of","namedtuples","to","represent","Mixnet","blocks","arguments",".","Returns",":","a","list","of","strings",",","each","string","is","a","notation","of","Mixnet","block","."]
code: def encode(blocks_args):
      """Encodes a list of Mixnet Blocks to a list of strings.
  
      Args:
      blocks_args: A list of namedtuples to represent Mixnet blocks arguments.
      Returns:
      a list of strings, each string is a notation of Mixnet block.
      """
      block_strings = []
      for block in blocks_args:
          block_strings.append(
              MixnetDecoder._encode_block_string(block)
          )
      return block_strings
  
imports: import re
  from collections import namedtuple
label_desc: Use image node_id 4 for calling the MixnetDecoder obj's underlying member method code with example usage: obj.encode(blocks_args) and returns: block_strings