Documentation ¶
Index ¶
- type TensorSet
- func (m *TensorSet) Close()
- func (m *TensorSet) GetAnswersSize() []int
- func (m *TensorSet) GetDataSize() []int
- func (m *TensorSet) GetNextSet() (*tensor.Tensor, *tensor.Tensor, error)
- func (m *TensorSet) GetSetSize() int
- func (m *TensorSet) IsAnswer(out *tensor.Tensor, ans *tensor.Tensor) bool
- func (m *TensorSet) Reset()
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 (*TensorSet) GetAnswersSize ¶
func (*TensorSet) GetDataSize ¶
func (*TensorSet) GetNextSet ¶
func (*TensorSet) GetSetSize ¶
Click to show internal directories.
Click to hide internal directories.