Skip to content

Commit

Permalink
readd movedim
Browse files Browse the repository at this point in the history
  • Loading branch information
Padarn committed Oct 23, 2021
1 parent ab4a32f commit c9a3419
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functorch/csrc/BatchRulesViews.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ TORCH_LIBRARY_IMPL(aten, FT_BATCHED_KEY, m) {
VMAP_SUPPORT("expand", expand_batch_rule);
VMAP_SUPPORT("unfold", unfold_batch_rule);
VMAP_SUPPORT("movedim.intlist", movedim_batch_rule);
m.impl("movedim.int", static_cast<Tensor(*)(const Tensor&,int64_t,int64_t)>(native::movedim)); // composite wrt autograd
}

}}

0 comments on commit c9a3419

Please sign in to comment.