MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle2ONNX / UnstackMapper

Method UnstackMapper

paddle2onnx/mapper/tensor/unstack.h:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20class UnstackMapper : public Mapper {
21 public:
22 UnstackMapper(const PaddleParser& p,
23 OnnxHelper* helper,
24 int64_t block_id,
25 int64_t op_id)
26 : Mapper(p, helper, block_id, op_id) {
27 GetAttr("axis", &axis_);
28 }
29 UnstackMapper(const PaddlePirParser& p, OnnxHelper* helper, int64_t i, bool c)
30 : Mapper(p, helper, i, c) {
31 GetAttr("axis", &axis_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected