def test_tile_invalid(self, compute_unit, backend):
        """TF doesn't support tile where `multiples` have different length than x's rank."""
        x_shape = (2, 3, 4)

        with pytest.raises(ValueError, match="Shape must be rank 3 but is rank 2"):

            @make_tf_graph([x_shape])
            def build_model(x):
                return tf.tile(x, multiples=[1, 2])

            model, inputs, outputs = build_model
            input_values = [random_gen(x_shape)]
            input_dict = dict(zip(inputs, input_values))
            TensorFlowBaseTest.run_compare_tf(
                model,
                input_dict,
                outputs,
                compute_unit=compute_unit,
                backend=backend,
            )
TF doesn't support tile where `multiples` have different length than x's rank.
coremltools/converters/mil/frontend/tensorflow/test/test_ops.py