nn

package
v0.0.0-...-9e2d205 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

definitions and experiments for zama nn models

Index

Constants

This section is empty.

Variables

View Source
var DEG = 63

Functions

func InitActivations

func InitActivations(args ...interface{}) []utils.ChebyPolyApprox

Initialize activation function

Types

type NN

type NN struct {
	network.Network
}

func (*NN) NewNN

func (nn *NN) NewNN(splits *cipherUtils.Split, encrypted, bootstrappable bool, maxLevel, minLevel, btpCapacity int, Bootstrapper cipherUtils.IBootstrapper, poolsize int, Box cipherUtils.CkksBox) *NNHE

type NNHE

type NNHE struct {
	*network.HENetwork
}

type NNLoader

type NNLoader struct {
	network.NetworkLoader
}

func (*NNLoader) IsInit

func (l *NNLoader) IsInit(network network.NetworkI) bool

func (*NNLoader) Load

func (l *NNLoader) Load(path string, initActivations network.Initiator) network.NetworkI

Jump to

Keyboard shortcuts

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