masahi commented on a change in pull request #4368: [tutorial][benchmark] nnvm
-> relay
URL: https://github.com/apache/incubator-tvm/pull/4368#discussion_r347846634
##########
File path: apps/benchmark/util.py
##########
@@ -46,38 +47,32 @@ def get_network(name, batch_size, dtype='float32'):
output_shape = (batch_size, 1000)
if name == 'mobilenet':
- net, params =
nnvm.testing.mobilenet.get_workload(batch_size=batch_size, dtype=dtype)
+ net, params = testing.mobilenet.get_workload(batch_size=batch_size,
dtype=dtype)
elif name == 'mobilenet_v2':
- net, params =
nnvm.testing.mobilenet_v2.get_workload(batch_size=batch_size, dtype=dtype)
+ net, params = testing.mobilenet_v2.get_workload(batch_size=batch_size,
dtype=dtype)
Review comment:
It seems testing.mobilenet_v2.get_workload doesn't exist, so delete it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services