GgufFile class final
Constructors
- GgufFile.open(String path)
-
Maps and parses
path. Needs the native kernels (for the mapping).factory
Properties
Methods
-
bytes(
GgufTensor t) → Uint8List -
close(
) → void - Releases the mapped GGUF after all tensor views have been consumed. The mapping is shared by path, so a second close must not give back another opener's reference.
-
f32(
GgufTensor t) → Float32List - An F32 tensor's values, copied.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tensor(
String name, GgufType type, List< int> dims) → GgufTensor -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited