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