38 PermuteLayer(
const std::vector<ITensor *> &src_tensors,
const std::vector<ITensor *> &dst_tensors,
39 const std::vector<ITensor *> &input_back_prop_tensors,
40 const std::vector<ITensor *> &output_back_prop_tensors,
41 const std::vector<ir::PermuteType> &types,
bool ignore_forward_in_training,
42 const std::shared_ptr<ExternalContext> &external_context);
46 void forward(
bool training)
override;
50 std::vector<ITensor *> _input_back_prop_tensors;
51 std::vector<ITensor *> _output_back_prop_tensors;
52 bool _ignore_forward_in_training;