dump_inout
Module.dump_inout(path)
Saves all input/output tensors of the current module to the specified directory, along with a tester-compatible model.json.
The output directory will contain:
-
input_<name>.npyfor each input tensor. -
output_<name>.npyfor each output tensor. -
model.jsondescribing Golden and Model metadata.
Parameters:
path (str) -- The target directory path. Created automatically if it does not exist.
Returns:
status -- Status.OK on success.
Return type:
Raises:
RuntimeError -- If the dump operation fails.