Пример #1
0
 def f(x, a):
     return x.sum(constant(a))
Пример #2
0
 def f(x):
     a = 1
     return x.sum(constant(a))
Пример #3
0
 def f(x):
     a = np.int_(1)
     return x.sum(constant(a))
Пример #4
0
 def f(x):
     return x.sum(constant(1))
Пример #5
0
 def f(x):
     a = constant(1)
     return x.sum(a)
Пример #6
0
 def f(x):
     for i in range(constant(x)):
         x = x + x
     return x
Пример #7
0
 def f(x, r):
     for i in range(constant(r)):
         x = x + x
     return x
Пример #8
0
 def f(x):
     a = 1
     return x.sum(constant(a))
Пример #9
0
 def f(x):
     a = np.int_(1)
     return x.sum(constant(a))
Пример #10
0
 def f(x):
     a = constant(1)
     return x.sum(a)
Пример #11
0
 def f(x):
     return x.sum(constant(1))
Пример #12
0
 def f(x, r):
     for i in range(constant(r)):
         x = x + x
     return x
Пример #13
0
 def f(x):
     for i in range(constant(x)):
         x = x + x
     return x
Пример #14
0
 def f(x, a):
     return x.sum(constant(a))