示例#1
0
 def test_fn():
   a = True
   while True:
     directives.set_loop_options(parallel_iterations=10, back_prop=a)
示例#2
0
 def test_fn():
   directives.set_loop_options()
示例#3
0
 def f():
     a = 1
     while True:
         a = 2
         directives.set_loop_options(parallel_iterations=10,
                                     back_prop=a)
示例#4
0
 def f():
     directives.set_loop_options()
     pass
 def f():
     a = 1
     while True:
         a = 2
         directives.set_loop_options(parallel_iterations=10,
                                     back_prop=a)  # pylint: disable=unexpected-keyword-arg
示例#6
0
 def test_fn():
   directives.set_loop_options()
示例#7
0
 def test_fn():
   a = True
   while True:
     directives.set_loop_options(parallel_iterations=10, back_prop=a)