Click or drag to resize
Accord.NET (logo)

NpzFormatSave Method (DictionaryString, Array, Stream, CompressionLevel, Boolean)

Saves the specified arrays to a file in the disk.

Namespace:  Accord.IO
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.6.0
Syntax
public static void Save(
	Dictionary<string, Array> arrays,
	Stream stream,
	CompressionLevel compression = CompressionLevel.Fastest,
	bool leaveOpen = false
)
Request Example View Source

Parameters

arrays
Type: System.Collections.GenericDictionaryString, Array
The arrays to be saved to disk.
stream
Type: System.IOStream
The stream to which the file will be saved.
compression (Optional)
Type: System.IO.CompressionCompressionLevel
The compression level to use when compressing the array.
leaveOpen (Optional)
Type: SystemBoolean
True to leave the stream opened after the file is saved; false otherwise.
See Also