|
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.8.0
Syntax public static void Save(
Dictionary<string, Array> arrays,
Stream stream,
CompressionLevel compression = CompressionLevel.Fastest,
bool leaveOpen = false
)
Public Shared Sub Save (
arrays As Dictionary(Of String, Array),
stream As Stream,
Optional compression As CompressionLevel = CompressionLevel.Fastest,
Optional leaveOpen As Boolean = false
)
Request Example
View SourceParameters
- 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