Commit a80f5b19 authored by turneram's avatar turneram
Browse files

Add axis to layernorm onnx op

parent 5818ebde
......@@ -2654,7 +2654,8 @@ def layernorm_op_test():
node = onnx.helper.make_node('LayerNormalization',
inputs=['x', 'w', 'b'],
outputs=["output"],
epsilon=1e-5)
epsilon=1e-5,
axis=-1)
return ([node], [x, w, b], [output])
......
layernorm_op_test:
8
layernorm_op_test:
N
x
w
boutput"LayerNormalization*
boutput"LayerNormalization*
axis*
epsilon'7layernorm_op_testZ
x

......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment