|
NpzFormatLoadT Method (Stream, NpzDictionaryT)
|
Gets a lazily-instantiated array that can be used to load
matrices of the specified type from a stream.
Namespace:
Accord.IO
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static NpzDictionary<T> Load<T>(
Stream stream,
out NpzDictionary<T> value
)
where T : class, ICloneable, IList, ICollection, IEnumerable, IStructuralComparable, IStructuralEquatable
Public Shared Function Load(Of T As {Class, ICloneable, IList, ICollection, IEnumerable, IStructuralComparable, IStructuralEquatable}) (
stream As Stream,
<OutAttribute> ByRef value As NpzDictionary(Of T)
) As NpzDictionary(Of T)
Request Example
View SourceParameters
- stream
- Type: System.IOStream
The stream containing the matrix to be loaded. - value
- Type: Accord.IONpzDictionaryT
The object to be read. This parameter can be used to avoid the
need of specifying a generic argument to this function.
Type Parameters
- T
- The type to be loaded from the npy-formatted file.
Return Value
Type:
NpzDictionaryTThe array to be returned.
See Also