mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
set non-causal attention
This commit is contained in:
parent
631fecc6d9
commit
0df1800436
6 changed files with 57 additions and 25 deletions
|
@ -148,6 +148,7 @@ type Tensor interface {
|
|||
View(ctx Context, offset int, shape ...int) Tensor
|
||||
Permute(ctx Context, shape ...int) Tensor
|
||||
Contiguous(ctx Context) Tensor
|
||||
Set(ctx Context, t2 Tensor, offset int, strides ...int) Tensor
|
||||
|
||||
Pad(ctx Context, shape ...int) Tensor
|
||||
Unpad(ctx Context, shape ...int) Tensor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue