Skip to content

Commit

Permalink
Use interval arithmetic always for first ReLU layer in example neural…
Browse files Browse the repository at this point in the history
… networks.
  • Loading branch information
vtjeng committed Aug 26, 2018
1 parent e7e0335 commit b66f367
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/import_example_nets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function get_example_network_params(name::String)::NeuralNet

nn = Sequential([
Flatten(4),
fc1, ReLU(),
fc1, ReLU(interval_arithmetic),
fc2, ReLU(),
logits], name)
return nn
Expand All @@ -44,7 +44,7 @@ function get_example_network_params(name::String)::NeuralNet
logits = get_matrix_params(param_dict, "logits", (100, 10))

nn = Sequential([
conv1, ReLU(),
conv1, ReLU(interval_arithmetic),
conv2, ReLU(),
Flatten([1, 3, 2, 4]),
fc1, ReLU(),
Expand All @@ -57,7 +57,7 @@ function get_example_network_params(name::String)::NeuralNet

nn = Sequential([
Flatten([1, 3, 2, 4]),
fc1, ReLU(),
fc1, ReLU(interval_arithmetic),
logits], name)
return nn
else
Expand Down

0 comments on commit b66f367

Please sign in to comment.