Skip to content

Commit

Permalink
[Relay] Fix name of bias in testing.mlp (#2892)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhynes authored and tqchen committed Mar 25, 2019
1 parent 23aa24c commit 7f94247
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 7f94247

Please sign in to comment.