Click or drag to resize
Accord.NET (logo)

NpyFormatLoadT Method (Stream)

Loads an array of the specified type from a stream.

Namespace:  Accord.IO
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.7.0
Syntax
public static T Load<T>(
	Stream stream
)
where T : class, ICloneable, IList, ICollection, IEnumerable, IStructuralComparable, IStructuralEquatable
Request Example View Source

Parameters

stream
Type: System.IOStream
The stream containing the matrix to be loaded.

Type Parameters

T
The type to be loaded from the npy-formatted file.

Return Value

Type: T
The array to be returned.
See Also