Skip to content

Commit

Permalink
[Relay] Fix name of bias in testing.mlp (apache#2892)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhynes authored and wweic committed Mar 29, 2019
1 parent 23871c5 commit edf424f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/testing/mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_net(batch_size,
dtype=dtype)
data = relay.nn.batch_flatten(data)
fc1 = relay.nn.dense(data, relay.var("fc1_weight"), units=128)
fc1 = relay.nn.bias_add(fc1, relay.var("fc2_bias"))
fc1 = relay.nn.bias_add(fc1, relay.var("fc1_bias"))
act1 = relay.nn.relu(fc1)
fc2 = relay.nn.dense(act1, relay.var("fc2_weight"), units=64)
fc2 = relay.nn.bias_add(fc2, relay.var("fc2_bias"))
Expand Down

0 comments on commit edf424f

Please sign in to comment.