src/transformers/benchmark/benchmark_args_tf.py/TensorFlowBenchmarkArguments/is_tpu
class TensorFlowBenchmarkArguments:    def is_tpu(self) -> bool:
        requires_backends(self, ["tf"])
        return self._setup_tpu is not None