回答編集履歴

2

コード修正の再修正

2021/11/04 05:43

投稿

coffeebar
coffeebar

スコア140

test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  from tensorflow.keras.layers import Dense, Flatten, Reshape
20
20
 
21
- from tensorflow.keras.layers.advanced_activations import LeakyReLU
21
+ from keras.layers.advanced_activations import LeakyReLU
22
22
 
23
23
  from tensorflow.keras.models import Sequential
24
24
 

1

コード修正の追加

2021/11/04 05:43

投稿

coffeebar
coffeebar

スコア140

test CHANGED
@@ -3,6 +3,24 @@
3
3
 
4
4
 
5
5
  ```ここに言語を入力
6
+
7
+ %matplotlib inline
8
+
9
+
10
+
11
+ import matplotlib.pyplot as plt
12
+
13
+ import numpy as np
14
+
15
+
16
+
17
+ from tensorflow.keras.datasets import mnist
18
+
19
+ from tensorflow.keras.layers import Dense, Flatten, Reshape
20
+
21
+ from tensorflow.keras.layers.advanced_activations import LeakyReLU
22
+
23
+ from tensorflow.keras.models import Sequential
6
24
 
7
25
  from tensorflow.keras.optimizers import Adam
8
26