update comment
This commit is contained in:
parent
d26c18e25c
commit
5e20b170a7
@ -374,8 +374,7 @@ func DetectContentType(b []byte) string {
|
|||||||
// Decode decodes a GGML model from the given reader.
|
// Decode decodes a GGML model from the given reader.
|
||||||
//
|
//
|
||||||
// It collects array values for arrays with a size less than or equal to
|
// It collects array values for arrays with a size less than or equal to
|
||||||
// maxArraySize. If maxArraySize is 0, the default value of 1024 is used. If
|
// maxArraySize. If the maxArraySize is negative, all arrays are collected.
|
||||||
// the maxArraySize is negative, all arrays are collected.
|
|
||||||
func Decode(rs io.ReadSeeker, maxArraySize int) (*GGML, int64, error) {
|
func Decode(rs io.ReadSeeker, maxArraySize int) (*GGML, int64, error) {
|
||||||
rs = bufioutil.NewBufferedSeeker(rs, 32<<10)
|
rs = bufioutil.NewBufferedSeeker(rs, 32<<10)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user