Slide 18
Slide 18 text
༻ํ๏
ֶशࡁΈϞσϧΛม͢Δ$IBJOFS
import numpy as np
from chainer import Variable, links as L
model = L.ResNet50Layers()
ܭࢉάϥϑΛ࡞ΔͨΊʹμϛʔσʔλΛྲྀ͢
x = Variable(np.zeros((1, 3, 224, 224), dtype=np.float32))
y = model(x, layers=['prob'])['prob']
$IBJOFS
chainer.Chain
(SBQI%FTDSJQUPS
GPS8FC(- #BDLFOE
8FC%//*3
1ZUIPO