dropout

package
v0.0.0-...-98db5b7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: CC-BY-4.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ops

type Ops struct {
	// contains filtered or unexported fields
}

Ops does the operation. It also holds the memory to run the tensor op

func Stage

func Stage(handle *cudnn.Handler, x *tensor.Volume, dropout float32, seed uint64) (*Ops, error)

Stage stages the op

func (*Ops) BackProp

func (op *Ops) BackProp(handle *cudnn.Handler, dx, dy *tensor.Volume) error

BackProp does the back propagation for dropoutlayer

func (*Ops) ForwardProp

func (op *Ops) ForwardProp(handle *cudnn.Handler, x, y *tensor.Volume) error

ForwardProp does the feed forward

Jump to

Keyboard shortcuts

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