mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
fs: move ml.Config to fs package
This commit is contained in:
parent
e53b3cbd0c
commit
3b96a93672
16 changed files with 55 additions and 40 deletions
13
fs/config.go
Normal file
13
fs/config.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package fs
|
||||
|
||||
type Config interface {
|
||||
Architecture() string
|
||||
String(string, ...string) string
|
||||
Uint(string, ...uint32) uint32
|
||||
Float(string, ...float32) float32
|
||||
Bool(string, ...bool) bool
|
||||
|
||||
Strings(string, ...[]string) []string
|
||||
Uints(string, ...[]uint32) []uint32
|
||||
Floats(string, ...[]float32) []float32
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue