src/transformers/benchmark/benchmark_args_utils.py/BenchmarkArguments/to_json_string
class BenchmarkArguments:    def to_json_string(self):
        """
        Serializes this instance to a JSON string.
        """
        return json.dumps(dataclasses.asdict(self), indent=2)