Defined in File opr_io_dump.h
public mgb::OprIODumpBase (Class OprIODumpBase)
public mgb::OprIODumpBase
mgb::
::
TextOprIODump
dump opr input/output vars as text
In normal cases, the result would be written to the file at each execution. When comp_node_seq_record_level is set, the result would be written to file in destructor or when flush_lazy() is called.
Public Functions
~TextOprIODump
flush_lazy
write lazy values due to comp_node_seq_record_level to file
Note: this is only effective when comp_node_seq_record_level is set. If compiled func is executed again without calling flush_lazy(), then previously recorded values would be overwritten and nothing would be recorded to file.
print_addr
set whether to print var address
max_size
set max number of entries to be printed for a single tensor