博客测试

文字测试

这里是文字测试

Here is a text test.

公式测试

这里是公式测试 这里是行内公式,这里有,这里有 这里是行间公式

测试行间公式 equation 环境测试

表格测试

这里是表格测试

Parameters Meaning
Logits of Net-T
Logits of Net-S
Net-T's softmax output at temperature T over class
Net-S's softmax output at temperature T over class
Quantity of labels
The ground truth value on class ,, positive labels are taken as 1 and negative labels as 0.

图片测试

测试图片

代码测试

这里是代码测试

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import torch 
import torch.nn as nn
print("hello world")

class CNN(nn.Module):
def __init__(self):
super(CNN, self).__init__()
self.conv1 = nn.Conv2d(1, 6, 5)
self.pool = nn.MaxPool2d(2, 2)
self.conv2 = nn.Conv2d(6, 16, 5)
self.fc1 = nn.Linear(16 * 5 * 5, 120)
self.fc2 = nn.Linear(120, 84)
self.fc3 = nn.Linear(84, 10)

def forward(self, x):
x = self.pool(F.relu(self.conv1(x)))
x = self.pool(F.relu(self.conv2(x)))
x = x.view(-1, 16 * 5 * 5)
x = F.relu(self.fc1(x))
x = F.relu(self.fc2(x))
x = self.fc3(x)
return x