class_docstr: Code emitter class.
class_docstr_tok: ["Code","emitter","class","."]
docstr: Emits prototypes for the network operator functions.
docstr_tok: ["Emits","prototypes","for","the","network","operator","functions","."]
code: def _emit_network(self, name, out_c):
      """Emits prototypes for the network operator functions."""
  
      out_c.write(
          textwrap.dedent(
              f"""
          //
          // Network: {name}
          //
          """
          )
      )
      for node in self._nodes:
          if node["op"] == "null":
              continue
          assert (
              node["op"] == "tvm_op"
          ), f"###Error: Only TVM ops are supported."
          node_attrs = node["attrs"]
          func_name = node_attrs["func_name"]
  
          if func_name == "__nop":
              continue
  
          out_c.write(
              f"TVM_DLL int32_t {func_name}(void * args, void * arg_type_ids, int32_t num_args); \n"
          )
      out_c.write(f"\n")
  
imports: import contextlib
  import json
  import os
  import re
  import shutil
  import tarfile
  import textwrap
  from datetime import datetime
  import numpy
  import tvm
  from tvm.contrib import utils
label_desc: Use image node_id 18 for calling the CodeEmitter obj's underlying member method code with example usage: obj._emit_network(name, out_c) without return types