Documentation ¶
Index ¶
- func CreateRandCropBatch(input, output []image.Image, h, w, resizedouth, resizedoutw int) (tin, tout *cvdh.Tensor4d)
- func Decoder(builder *gocunets.Builder, batchsize int32, outputchannel int32, ...) (mnet *gocunets.SimpleModuleNetwork)
- func Encoder(builder *gocunets.Builder, batchsize int32, outputchannel int32, ...) (mnet *gocunets.SimpleModuleNetwork)
- func GetImages(r []io.Reader) []image.Image
- type GPULoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRandCropBatch ¶
func CreateRandCropBatch(input, output []image.Image, h, w, resizedouth, resizedoutw int) (tin, tout *cvdh.Tensor4d)
CreateRandCropBatch creates a RandCropBatch
func Decoder ¶
func Decoder( builder *gocunets.Builder, batchsize int32, outputchannel int32, hiddenoutputchannels []int32, learningrates, decay1, decay2 float32, x, dx *gocunets.Tensor) (mnet *gocunets.SimpleModuleNetwork)
Decoder decodes a vector
Types ¶
type GPULoader ¶
type GPULoader struct {
// contains filtered or unexported fields
}
GPULoader loads the gpu
func CreateGpuLoader ¶
CreateGpuLoader creates a gpu loader
func (*GPULoader) AsyncLoadMem ¶
func (*GPULoader) LoadBuffer ¶
func (*GPULoader) SyncStream ¶
Click to show internal directories.
Click to hide internal directories.