This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
from torch import nn | |
from tqdm import tqdm_notebook | |
class CNN(nn.Module): | |
def __init__(self, input_size, num_classes): | |
""" | |
init convolution and activation layers | |
Args: | |
input_size: (1,28,28) |