xnn.ffnn.common.frc.write_frc#

xnn.ffnn.common.frc.write_frc(frc, path)[source]#

Write a FrcFile to disk in .frc syntax.

Sections are written with aligned columns and a header comment naming them; JSON sections are pretty-printed; #define and #reference blocks are reproduced. The output re-reads with read_frc().

Parameters:
Returns:

The written path.

Return type:

Path