backend

package
Version: v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 1 Imported by: 0

README

Backend

This directory contains (sample) backend implementation.

Any backend implementing a computation method (symbolic or not) should fulfil the ComputationBackend interface:

type ComputationBackend interface {
	onnx.Backend
	Run() error
}

Unit tests are exposed in the testbackend package.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputationBackend

type ComputationBackend interface {
	onnx.Backend
	Run() error
}

ComputationBackend is a backend that can run the graph

Directories

Path Synopsis
Package simple holds a very simple graph structure suitable to receive an onnx model
Package simple holds a very simple graph structure suitable to receive an onnx model
Package testbackend provides a set of testing helper functions that test backend interface implementations.
Package testbackend provides a set of testing helper functions that test backend interface implementations.
onnx
Package onnxtest contains an export of the onnx test files
Package onnxtest contains an export of the onnx test files
x
gorgonnx
Package gorgonnx creates a temporary graph that is compatible with backend.ComputationBackend.
Package gorgonnx creates a temporary graph that is compatible with backend.ComputationBackend.

Jump to

Keyboard shortcuts

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