Documentation ¶
Index ¶
Constants ¶
View Source
const ( ColorFormatRGB = "RGB" ColorFormatBGR = "BGR" DataFormatNCHW = "NCHW" DataFormatNHWC = "NHWC" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BernoulliInput ¶
type BernoulliInput struct {
// contains filtered or unexported fields
}
func NewBernoulliInput ¶
func NewBernoulliInput(trueProb float32) *BernoulliInput
func (*BernoulliInput) CreateInput ¶
type BinomialInput ¶
type BinomialInput struct {
// contains filtered or unexported fields
}
func NewBinomialInput ¶
func NewBinomialInput(num int, trueProb float32) *BinomialInput
func (*BinomialInput) CreateInput ¶
type DefaultInput ¶
type DefaultInput struct{}
func NewDefaultInput ¶
func NewDefaultInput() *DefaultInput
func (*DefaultInput) CreateInput ¶
type ImageInput ¶
type ImageInput struct {
// contains filtered or unexported fields
}
func NewImageInput ¶
func (*ImageInput) CreateInput ¶
type InputSource ¶
type NormalInput ¶
type NormalInput struct {
// contains filtered or unexported fields
}
func NewNormalInput ¶
func NewNormalInput(mean float32, std float32) *NormalInput
func (*NormalInput) CreateInput ¶
type UniformInput ¶
type UniformInput struct {
// contains filtered or unexported fields
}
func NewUniformInput ¶
func NewUniformInput(min float32, max float32) *UniformInput
func (*UniformInput) CreateInput ¶
Click to show internal directories.
Click to hide internal directories.