inference

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package Inference implements the inference stage of the Neurlang classifier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolInfer

func BoolInfer(input uint32, m Model) bool

func Uint16Infer added in v0.0.2

func Uint16Infer(input uint16, m Model) (out uint16)

func Uint16Infer2 added in v0.0.2

func Uint16Infer2(input uint16, m0, m1 Model) (out uint16)

Reduced infer

func Uint32Infer added in v0.0.2

func Uint32Infer(input uint16, m Model) uint32

func Uint64Infer added in v0.0.2

func Uint64Infer(input uint16, m Model) (out uint64)

Types

type Model

type Model interface {
	Get(n int) (s uint32, max uint32)
	Len() int
	Bits() byte
}

Jump to

Keyboard shortcuts

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