Skip to content

Commit

Permalink
Add some ops for cacluating output scale, test=develop (#28644)
Browse files Browse the repository at this point in the history
  • Loading branch information
juncaipeng authored Nov 16, 2020
1 parent b2f7ab6 commit d1e84f3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
"hard_swish",
"hard_sigmoid",
"conv2d_transpose",
"gru",
"bilinear_interp",
"nearest_interp",
"trilinear_interp",
]

# list op real input and output names, to avoid processing input such as AxisTensor.
Expand Down Expand Up @@ -114,6 +118,7 @@
"scale": [["X"], ["Out"]],
"hard_swish": [["X"], ["Out"]],
"hard_sigmoid": [["X"], ["Out"]],
"gru": [["Input", "Weight"], ["Hidden"]],
}

_conv_ops = ['conv2d', 'depthwise_conv2d', 'conv2d_transpose']
Expand Down

0 comments on commit d1e84f3

Please sign in to comment.