From 27f4ced818e5248375be07f2481b3770d5afdbea Mon Sep 17 00:00:00 2001 From: MissPenguin Date: Tue, 8 Jun 2021 15:08:54 +0800 Subject: [PATCH] add flatten2 pbtxt (#33287) --- paddle/fluid/operators/compat/flatten2.pbtxt | 38 ++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 paddle/fluid/operators/compat/flatten2.pbtxt diff --git a/paddle/fluid/operators/compat/flatten2.pbtxt b/paddle/fluid/operators/compat/flatten2.pbtxt new file mode 100755 index 00000000000..6b8a6661a6f --- /dev/null +++ b/paddle/fluid/operators/compat/flatten2.pbtxt @@ -0,0 +1,38 @@ +type: "flatten2" +def { + inputs { + name: "X" + } + outputs { + name: "Out" + } + outputs { + name: "XShape" + } + attrs { + name: "axis" + type: INT + } +} +extra { + attrs { + name: "op_role" + type: INT + } + attrs { + name: "op_role_var" + type: STRINGS + } + attrs { + name: "op_namescope" + type: STRING + } + attrs { + name: "op_callstack" + type: STRINGS + } + attrs { + name: "op_device" + type: STRING + } +} -- GitLab