Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convolution operation pytorch

import torch.nn.functional as F
from torch.autograd import Variable
F.conv2d(Variable(a.view(1,1,3,3)),Variable(b.view(1,1,3,3)))
Source by forums.fast.ai #
 
PREVIOUS NEXT
Tagged: #convolution #operation #pytorch
ADD COMMENT
Topic
Name
6+2 =