You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested two operation, MaxPooling can be much faster than Convolution.
An example may be like that:
mask = F.max_pool2d(input=mask[:, None, :, :],
kernel_size= (block_size, block_size),
stride=(1,1),
padding=(block_size ,block_size))
Description:
A maxpool operation can be used for the block mask calculation and might be more efficient to compute than a convolution.
The text was updated successfully, but these errors were encountered: