Exemplo n.º 1
0
 def conv(scope, operator, container):
     W = operator.raw_operator.W
     S = operator.raw_operator.S
     X = operator.inputs[0]
     out = operator.outputs
     op = OnnxDiv(OnnxSub(X, W), S, output_names=out)
     op.add_to(scope, container)
Exemplo n.º 2
0
 def conv(scope, operator, container):
     W = operator.raw_operator.W
     S = operator.raw_operator.S
     X = operator.inputs[0]
     out = operator.outputs
     op = OnnxDiv(
         OnnxSub(X, W, op_version=container.target_opset),
         S, output_names=out,
         op_version=container.target_opset)
     op.add_to(scope, container)