class_docstr: Block Decoder for readability.
class_docstr_tok: ["Block","Decoder","for","readability","."]
docstr: Encodes a block to a string.
docstr_tok: ["Encodes","a","block","to","a","string","."]
code: def _encode_block_string(self, block):
      """Encodes a block to a string."""
      args = [
          "r%d" % block.num_repeat,
          "k%d" % block.kernel_size,
          "s%d%d" % (block.strides[0], block.strides[1]),
          "e%s" % block.expand_ratio,
          "i%d" % block.input_filters,
          "o%d" % block.output_filters,
          "c%d" % block.conv_type,
          "f%d" % block.fused_conv,
          "p%d" % block.super_pixel,
      ]
      if block.se_ratio > 0 and block.se_ratio <= 1:
          args.append("se%s" % block.se_ratio)
      if block.id_skip is False:  # pylint: disable=g-bool-id-comparison
          args.append("noskip")
      if block.condconv:
          args.append("cc")
      return "_".join(args)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  import re
  from absl import logging
  import numpy
  import six
  import tensorflow.compat.v1
  import efficientnet_model
  import utils
label_desc: Use image node_id 2 for calling the BlockDecoder obj's underlying member method code with example usage: obj._encode_block_string(block) and returns: str