Click or drag to resize
Accord.NET (logo)

NpyFormatLoadT Method (Byte, T)

Loads an array of the specified type from a file in the disk.

Namespace:  Accord.IO
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
public static T Load<T>(
	byte[] bytes,
	out T value
where T : class, ICloneable, IList, ICollection, IEnumerable, IStructuralComparable, IStructuralEquatable
Request Example View Source


Type: SystemByte
The bytes that contain the matrix to be loaded.
Type: T
The object to be read. This parameter can be used to avoid the need of specifying a generic argument to this function.

Type Parameters

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

Return Value

Type: T
The array to be returned.
See Also