code: def __write_invert_table_latency(self, model, path):
      table_name = "invert_table_latency"
      table_size = self.__get_table_size(model, "softmax")
  
      h_file = open(f"{path}/{table_name}.tb", "w")
      h_file.write(self.__get_table_header(table_name, table_size))
  
      # Default fixed point precision, in case values from layer attributes cannot be extracted
      # 8 bits for integer part, 10 bits for decimal - total, 18
      fp_bits = 18
      fp_integer = 8
      fp_signed = True
  
      # Invert table should use the same precision as exp_table, as seen in Vivado code
      # init_invert_table<typename CONFIG_T::exp_table_t, CONFIG_T>(invert_table);
      for layer in model.get_layers():
          if layer.name == "softmax":
              ac_type = layer.get_attr("exp_table_t")
              if ac_type is not None:
                  try:
                      fp_bits = (
                          ac_type.precision.integer
                          + ac_type.precision.fractional
                      )
                      fp_integer = ac_type.precision.integer
                      fp_signed = ac_type.precision.signed
                  except Exception:
                      # FixedPrecisionType wasn't correctly stored in layer attributes, use default values
                      pass
  
      sep = ""
      N = ceil_log2(table_size)
      for i in range(table_size):
          f = FixedPointEmulator(fp_bits, fp_integer, signed=fp_signed)
          f.set_msb_bits(uint_to_binary(i, N))
          real_val = f.inv_float()
          h_file.write(sep + str(real_val))
          sep = ", "
  
      h_file.write("};\n")
      h_file.close()
  
imports: import glob
  import os
  import tarfile
  from collections import OrderedDict
  from shutil import copyfile, copytree, rmtree
  import numpy
  import yaml
  from hls4ml.backends import get_backend
  from hls4ml.model.layers import Conv1D, Conv2D, Conv2DBatchnorm, Dense
  from hls4ml.utils.fixed_point_utils import FixedPointEmulator, ceil_log2, uint_to_binary
  from hls4ml.writer.writers import Writer
label_desc: Use image node_id 28 for calling the QuartusWriter obj's underlying member method code with example usage: obj.__write_invert_table_latency(model, path) without return types