コード例 #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
ファイル: directives_test.py プロジェクト: MFChunga/poo
 def f():
     a = 1
     while True:
         a = 2
         directives.set_loop_options(parallel_iterations=10,
                                     back_prop=a)
コード例 #4
0
ファイル: directives_test.py プロジェクト: MFChunga/poo
 def f():
     directives.set_loop_options()
     pass
コード例 #5
0
 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)