capi

package
v0.0.0-...-4560c35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LibVersion fu.VersionType

Functions

func Close

func Close(h unsafe.Pointer)

func Create

func Create() unsafe.Pointer

func Create2

func Create2(m ...unsafe.Pointer) unsafe.Pointer

func DumpModel

func DumpModel(b unsafe.Pointer) (r []string)

func Free

func Free(matrix unsafe.Pointer)

func GetInfo

func GetInfo(matrix unsafe.Pointer, name string, dat interface{}) interface{}

func GetModel

func GetModel(b unsafe.Pointer) (dt []byte)

func JsonConfig

func JsonConfig(b unsafe.Pointer) (js []byte)

func Matrix

func Matrix(data []float32, row, col int) unsafe.Pointer

func Predict

func Predict(b, matrix unsafe.Pointer, limit int) (result []float32)

func SetInfo

func SetInfo(matrix unsafe.Pointer, name string, dat interface{})

func SetModel

func SetModel(b unsafe.Pointer, dt []byte)

func SetParam

func SetParam(b unsafe.Pointer, par, val string)

func Update

func Update(b unsafe.Pointer, iter int, matrix unsafe.Pointer)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL