mirror of
https://github.com/newnius/YAO-optimizer.git
synced 2025-12-13 00:16:44 +00:00
add files
This commit is contained in:
3
serve.py
3
serve.py
@@ -72,9 +72,10 @@ class Data:
|
||||
self.data_num = self.data.shape[0]
|
||||
self.train_num = int(self.data_num * self.config.train_data_rate)
|
||||
|
||||
print(self.data)
|
||||
self.mean = np.mean(self.data, axis=0)
|
||||
print(1)
|
||||
print(self.data)
|
||||
|
||||
self.std = np.std(self.data, axis=0)
|
||||
self.norm_data = (self.data - self.mean) / self.std
|
||||
print(2)
|
||||
|
||||
Reference in New Issue
Block a user