[functorch] Added dropout (tested by opinfo to be upstreamed)

This commit is contained in:
Horace He
2021-06-30 12:39:42 -07:00
committed by Jon Janzen
parent a598ed6be6
commit 0bba49c8a7
2 changed files with 2 additions and 0 deletions

View File

@ -209,5 +209,6 @@ TORCH_LIBRARY_IMPL(aten, FT_BATCHED_KEY, m) {
m.impl("mkldnn_convolution", mkldnn_convolution_decomp);
m.impl("cudnn_convolution_backward", cudnn_convolution_backward_plumbing);
m.impl("cudnn_convolution", cudnn_convolution_plumbing);
OP_DECOMPOSE(dropout);
}
}}

View File

@ -210,6 +210,7 @@ _functorch_lagging_meta = {
('narrow', ''),
('ne', ''),
('neg', ''),
('nn.functional.dropout', ''),
('nn.functional.gelu', ''),
('nn.functional.hardshrink', ''),
('nn.functional.hardswish', ''),