pytorch/benchmarks/operator_benchmark/benchmark_all_test.py
Mingzhe Li a5cf6d5100 reorganize op bench directory (#21543)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21543

No code change in this diff.

Reviewed By: hl475

Differential Revision: D15721419

fbshipit-source-id: 06212cc882f5297064153417dc4d80bce9ec2667
2019-06-07 16:06:51 -07:00

17 lines
420 B
Python

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import operator_benchmark as op_bench
from ops.pt import ( # noqa
add_test, batchnorm_test, conv_test, linear_test, matmul_test # noqa
)
from ops.c2 import ( # noqa
add_test, matmul_test # noqa
)
if __name__ == "__main__":
op_bench.benchmark_runner.main()