Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,10 @@ class Net(keras.Model):
|
|
23 |
|
24 |
def build(self, input_shape):
|
25 |
self.fc1.build(input_shape)
|
26 |
-
self.
|
27 |
-
self.
|
|
|
|
|
28 |
self.built = True
|
29 |
|
30 |
def call(self, x):
|
|
|
23 |
|
24 |
def build(self, input_shape):
|
25 |
self.fc1.build(input_shape)
|
26 |
+
output_shape = self.fc1.compute_output_shape(input_shape)
|
27 |
+
self.fc2.build(output_shape)
|
28 |
+
output_shape = self.fc2.compute_output_shape(output_shape)
|
29 |
+
self.fc3.build(output_shape)
|
30 |
self.built = True
|
31 |
|
32 |
def call(self, x):
|