| 515 | """SHAPE conversion for static-rank non-quantized tensors.""" |
| 516 | |
| 517 | class Shape(tf.Module): |
| 518 | @tf.function(input_signature=[tf.TensorSpec(shape=input_shape, dtype=tf.float32)]) |
| 519 | def func(self, x): |
| 520 | return tf.shape(x, out_type=out_type) |
| 521 | |
| 522 | verify(Shape) |
| 523 |
no outgoing calls
searching dependent graphs…