Skip to content

Instantly share code, notes, and snippets.


陈诚 Cheneng

Block or report user

Report or block Cheneng

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Cheneng /
Created Jul 16, 2019 — forked from jeasinema/
A simple script for parameter initialization for PyTorch
#!/usr/bin/env python
# -*- coding:UTF-8 -*-
import torch
import torch.nn as nn
import torch.nn.init as init
def weight_init(m):
You can’t perform that action at this time.