Categorygithub.com/CortexFoundation/inference
modulepackage
1.0.1
Repository: https://github.com/cortexfoundation/inference.git
Documentation: pkg.go.dev

# README

inference

Supply fixed api for inference including torrentfs

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
NewFileReader returns a NpyReader that can be used to obtain array data from the given named file.
NewFileWriter returns a NpyWriter that can be used to write data to a Numpy binary format file.
NewReader returns a NpyReader that can be used to obtain array data as a Go slice.
NewWriter returns a NpyWriter that can be used to write data to an io.WriteCloser, using the Numpy binary format.
No description provided by the author

# Constants

Available by info hash.
Gas By Model Hash.
Infer By Input Content.
Infer By Input Hash.
No description provided by the author
infer response types.
infer response types.

# Structs

check Availablego:generate gencodec -type AvailableWork -out gen_avaiable_json.go.
Infer gasgo:generate gencodec -type GasWork -out gen_gas_json.go.
Infer by input contentgo:generate gencodec -type ICWork -out gen_ic_json.go.
Infer by input info hashgo:generate gencodec -type IHWork -out gen_ih_json.go.
go:generate gencodec -type InferResult -out gen_result_json.go.
NpyReader can read data from a Numpy binary array into a Go slice.
NpyWriter can write data from a Go slice to a Numpy binary array.
go:generate gencodec -type Work -out gen_work_json.go.

# Type aliases

infer send types.