August 2019
Intermediate to advanced
242 pages
5h 45m
English
After we have got our sampled encoding, we then feed it to our decoder, which is essentially the same structure as our encoder, but in reverse. The arrangement looks a little like this:

The actual implementation in Gorgonia looks like the following:
// Decoding - Part 3if c5, err = gorgonia.Mul(sz, m.w5); err != nil { return errors.Wrap(err, "Layer 5 Convolution failed")}if l5, err = gorgonia.Rectify(c5); err != nil { return errors.Wrap(err, "Layer 5 activation failed")}log.Printf("l6 shape %v", l1.Shape())if c6, err = gorgonia.Mul(l5, m.w6); err != nil { return errors.Wrap(err, "Layer 6 Convolution failed")}if l6, err = gorgonia.Rectify(c6); ...Read now
Unlock full access