| 46 | |
| 47 | template<typename Context> |
| 48 | std::unique_ptr<ep::primitive::Permute> NewPermutePrimitive(Context* ctx) { |
| 49 | const int64_t num_dims = ctx->TensorDesc4ArgNameAndIndex("output", 0)->shape().NumAxes(); |
| 50 | return ep::primitive::NewPrimitive<ep::primitive::PermuteFactory>(ctx->device_type(), num_dims); |
| 51 | } |
| 52 | |
| 53 | class TransposeKernel final : public OpKernel, public user_op::CudaGraphSupport { |
| 54 | public: |
no test coverage detected