Skip to content

Instantly share code, notes, and snippets.

View Ailln's full-sized avatar
🤖
Maybe I am a robot?

Ailln Ailln

🤖
Maybe I am a robot?
View GitHub Profile
@Ailln
Ailln / xor_net.py
Created October 17, 2020 22:13
使用两层神经网络解决异或问题
# ! pip install torch==1.6.0
import torch
import torch.nn as nn
import torch.nn.functional as F
xor_data = [
[[1, 1], 0],
[[0, 1], 1],
[[1, 0], 1],
@Ailln
Ailln / cnlp.txt
Last active August 9, 2020 14:37
cnlp = cn + nlp
_/_/_/ _/ _/ _/ _/_/_/
_/ _/_/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/_/_/
_/ _/ _/_/ _/ _/
_/_/_/ _/ _/ _/_/_/_/ _/