Example #1
0
def test_every_order():
    template_elementwise_operator(HardSigmoid)
Example #2
0
def test_every_order():
    template_elementwise_operator(Elu)
Example #3
0
def test_every_order():
    template_elementwise_operator(Softplus, {"beta": 1.0})
Example #4
0
def test_every_order():
    template_elementwise_operator(ClippedRelu, {"cap": 10.0})
Example #5
0
def test_every_order():
    template_elementwise_operator(ScalarAffine,
                                  operator_kwargs={
                                      "scale": 1,
                                      "bias": 0
                                  })
Example #6
0
def test_every_order():
    template_elementwise_operator(LeakyRelu, {"slope": 0.5})
Example #7
0
def test_every_order():
    template_elementwise_operator(Softsign)