原书出处
Causal AI
is_handwritten = torch.argmax(is_handwritten, 1) #4 return img, digit, is_handwritten #4 #1 Choose a random example from the dataset. #2 Reshape the data. #3 Generate data that is encoded. #4 Generate (unencoded) data. Finally, we can run the training procedure. First, we’ll set up stochastic variational inference. We’ll first set up an instance of the Adam optimizer, which will handle optimization of the parameters in training_guide.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Causal AI/_epub-src/OEBPS/Text/chapter-5.xhtml
EPUB SHA-256:e55e7dc9d7966ea79311f2bc8d5bef7371a6dbb65240f11a2b3e44180b934e72