mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Support fallback for more operators (#16566)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/16566 it's a follow-up to https://github.com/pytorch/pytorch/pull/16456 Reviewed By: yinghai Differential Revision: D13881462 fbshipit-source-id: eff063580ac8f622477417ed4b25320299451811
This commit is contained in:
parent
307c83b5eb
commit
2ed5569bd6
|
|
@ -19,8 +19,10 @@
|
|||
#include <caffe2/operators/elementwise_mul_op.h>
|
||||
#include <caffe2/operators/elementwise_ops.h>
|
||||
#include <caffe2/operators/expand_op.h>
|
||||
#include <caffe2/operators/expand_squeeze_dims_op.h>
|
||||
#include <caffe2/operators/filler_op.h>
|
||||
#include <caffe2/operators/flatten_op.h>
|
||||
#include <caffe2/operators/gather_op.h>
|
||||
#include <caffe2/operators/generate_proposals_op.h>
|
||||
#include <caffe2/operators/given_tensor_fill_op.h>
|
||||
#include <caffe2/operators/load_save_op.h>
|
||||
|
|
@ -204,6 +206,8 @@ REGISTER_IDEEP_OPERATOR(
|
|||
IDEEPFallbackOp<ExpandOp<
|
||||
TensorTypes<std::int32_t, std::int64_t, float, double>,
|
||||
CPUContext>>);
|
||||
REGISTER_IDEEP_OPERATOR(Gather, IDEEPFallbackOp<GatherOp<CPUContext>>);
|
||||
REGISTER_IDEEP_OPERATOR(ExpandDims, IDEEPFallbackOp<ExpandDimsOp<CPUContext>>);
|
||||
|
||||
REGISTER_IDEEP_OPERATOR(
|
||||
ReduceL2,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user