Skip to content

Instantly share code, notes, and snippets.

Avatar
🍭
sleeeeeeeeep

Ailln Ailln

🍭
sleeeeeeeeep
View GitHub Profile
@Ailln
Ailln / xor_net.py
Created Oct 17, 2020
使用两层神经网络解决异或问题
View xor_net.py
# ! 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 Aug 9, 2020
cnlp = cn + nlp
View cnlp.txt
_/_/_/ _/ _/ _/ _/_/_/
_/ _/_/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/_/_/
_/ _/ _/_/ _/ _/
_/_/_/ _/ _/ _/_/_/_/ _/
You can’t perform that action at this time.