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>.npy for each input tensor.

  • output_<name>.npy for each output tensor.

  • model.json describing 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:

Status

Raises:

RuntimeError -- If the dump operation fails.