Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <map>
#include <cassert>
#include <cstring>
using namespace std;
// problem statement
import math
import random
import numpy as np
learning_rate = 0.01
momentum_rate = 0.2
dropout_rate = 0.0
weight_decay_rate = 0.0