TensorBufferOverride
Namespace: LLama.Abstractions
Represents a mapping between a tensor name pattern and a specific buffer type
1 |
|
Inheritance Object → TensorBufferOverride
Attributes NullableContextAttribute, NullableAttribute
Properties
Pattern
Pattern to match tensor names. This is a regular expression. You can check the tensor names via the model.Metadata.
1 |
|
Property Value
BufferType
Buffer type to use for matching tensors. Examples: CPU, GPU0, GPU1
1 |
|
Property Value
Constructors
TensorBufferOverride(String, String)
Creates a new tensor buffer override
1 |
|
Parameters
pattern
String
Pattern to match tensor names
bufferType
String
Buffer type to use for matching tensors