vm

package module
v0.0.0-...-f1b01fa Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

README

SmartVM

Light implementation of SmartVM

Instruction examples include Conv, Pooling and FC.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRegister

func GetRegister(callContext *callCtx, a int, b int, c int, flag int) ([][][]int, [][]int)

func GetStorage

func GetStorage(interpreter *EVMInterpreter, callContext *callCtx, loc uint256.Int, size int64, a int, b int, c int, d int, flag int) ([][][][]int, [][]int)

------------- Storage Operations -----------------

func ReLu

func ReLu(a int) int

---------------- tools ---------------------

func SetRegister

func SetRegister(callContext *callCtx, v3 [][][]int, v2 [][]int, a int, b int, c int, flag int)

------------- Register Operations -----------------

Types

This section is empty.

Jump to

Keyboard shortcuts

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