# 一般的なユーティリティ

このページには、ファイル `utils.py` にある Transformers の一般的なユーティリティ関数がすべてリストされています。

これらのほとんどは、ライブラリで一般的なコードを学習する場合にのみ役に立ちます。

## 列挙型と名前付きタプル[[transformers.utils.ExplicitEnum]]

Enum with more explicit error message for missing values.

Possible values for the `padding` argument in [PreTrainedTokenizerBase.__call__()](/docs/transformers/v5.13.0/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.__call__). Useful for tab-completion in an
IDE.

Possible values for the `return_tensors` argument in [PreTrainedTokenizerBase.__call__()](/docs/transformers/v5.13.0/ja/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.__call__). Useful for
tab-completion in an IDE.

## 特別なデコレーター[[transformers.add_start_docstrings]]

## その他のユーティリティ[[transformers.utils._LazyModule]]

Module class that surfaces all objects but only performs associated imports when the objects are requested.

