Exemple #1
0
 def stage2(x, c, label):
     with variable_scope.variable_scope("stage2", use_resource=True):
         with ops.control_dependencies([internal_ops.print_tensor(x)]):
             return x * 20, c, label
Exemple #2
0
 def stage2(x, c):
   internal_ops.print_tensor(c, "stage2_c")
   return math_ops.reduce_sum(x) + c
Exemple #3
0
 def stage3(x):
   internal_ops.print_tensor(x, "stage3_x")
   return x
Exemple #4
0
 def stage2(x, label):
     internal_ops.print_tensor(x)
     return x, label