예제 #1
0
 def applicable_jax2tf_limitation(l: Jax2TfLimitation) -> bool:
   # The CheckShapePolymorphism uses tf.function, so we care about "graph"
   return l.filter(device=device, dtype=h.dtype, mode="graph")
예제 #2
0
 def applicable_jax2tf_limitation(l: Jax2TfLimitation) -> bool:
     return (l.filter(device=device, dtype=h.dtype, mode="graph")
             and l.expect_tf_error)