dimlayer

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: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backwardspdv2

func Backwardspdv2(xgoal, ygoal int32, dlayer []*Ofhlpr) (int32, error)

func MaxOutput

func MaxOutput(input int32, layers []DimLayer) (output int32)

MaxOutput will change the values of layers to achieve the max output for all the layers It will also return the value of the final layer

Types

type DimLayer

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

func CopyDimsLayer

func CopyDimsLayer(src []DimLayer) (copy []DimLayer)

func CreateDimLayer

func CreateDimLayer(w, p, d, s int32) DimLayer

func (*DimLayer) Get

func (l *DimLayer) Get() (w, p, d, s int32)

Get returns the prevously set values

func (*DimLayer) Out

func (l *DimLayer) Out(x int32) (y int32)

Out returns the output from the input considering the previously the previously set values

func (*DimLayer) ReverseOut

func (l *DimLayer) ReverseOut(y int32) (x int32)

ReverseOut finds the output for the reverse convolution.

func (*DimLayer) Set

func (l *DimLayer) Set(p, d, s int32)

Set sets the convolution values

type Ofhlpr

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

func Makeoutputfinderhelper

func Makeoutputfinderhelper(index, totaldimlayers, globalxgoal, globalygoal, mins, mind, minp, maxs, maxd, maxp int32, layer *DimLayer) *Ofhlpr

Jump to

Keyboard shortcuts

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