diff options
author | Mingzhe Li <mingzhe0908@fb.com> | 2019-04-18 17:03:56 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-04-18 17:07:02 -0700 |
commit | 45d5b6be48caae761970d6d4c99e4ed8bc82263e (patch) | |
tree | bdeb64abe7cf308e0de6d33c153e0130a21fb209 /.travis.aten.yml | |
parent | edf77fe64ae2f9becfbc1848721b096a14bcd820 (diff) | |
download | pytorch-45d5b6be48caae761970d6d4c99e4ed8bc82263e.tar.gz pytorch-45d5b6be48caae761970d6d4c99e4ed8bc82263e.tar.bz2 pytorch-45d5b6be48caae761970d6d4c99e4ed8bc82263e.zip |
Enhance front-end to add op (#19433)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19433
For operator benchmark project, we need to cover a lot of operators, so the interface for adding operators needs to be very clean and simple. This diff is implementing a new interface to add op.
Here is the logic to add new operator to the benchmark:
```
long_config = {}
short_config = {}
map_func
add_test(
[long_config, short_config],
map_func,
[caffe2 op]
[pt op]
)
```
Reviewed By: zheng-xq
Differential Revision: D14791191
fbshipit-source-id: ac6738507cf1b9d6013dc8e546a2022a9b177f05
Diffstat (limited to '.travis.aten.yml')
0 files changed, 0 insertions, 0 deletions