op

package
v0.0.0-...-225e849 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Package op provides extended Gorgonia graph operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFauxF32

func AddFauxF32(n *g.Node) (retVal *g.Node, err error)

AddFauxF32 adds a the faux zero value 1e-6.

func Clip

func Clip(value *g.Node, min, max float64) (retVal *g.Node, err error)

Clip the node value.

func Max

func Max(a *g.Node, b *g.Node) (retVal *g.Node, err error)

Max value between the nodes. If values are equal the first value is returned.

func Min

func Min(a *g.Node, b *g.Node) (retVal *g.Node, err error)

Min value between the nodes. If values are equal the first value is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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