tensorset

package
v0.0.0-...-32ffa8f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TensorSet

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

TensorSet is just a simple Dataset created from two tensor arrays: the data and the expected answers

func NewTensorSet

func NewTensorSet(data, ans []*tensor.Tensor) *TensorSet

func (*TensorSet) Close

func (m *TensorSet) Close()

func (*TensorSet) GetAnswersSize

func (m *TensorSet) GetAnswersSize() []int

func (*TensorSet) GetDataSize

func (m *TensorSet) GetDataSize() []int

func (*TensorSet) GetNextSet

func (m *TensorSet) GetNextSet() (*tensor.Tensor, *tensor.Tensor, error)

func (*TensorSet) GetSetSize

func (m *TensorSet) GetSetSize() int

func (*TensorSet) IsAnswer

func (m *TensorSet) IsAnswer(out *tensor.Tensor, ans *tensor.Tensor) bool

func (*TensorSet) Reset

func (m *TensorSet) Reset()

Jump to

Keyboard shortcuts

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