Esempio n. 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")
Esempio n. 2
0
 def applicable_jax2tf_limitation(l: Jax2TfLimitation) -> bool:
     return (l.filter(device=device, dtype=h.dtype, mode="graph")
             and l.expect_tf_error)