Diffusers documentation
パイプラインの状態
はじめに
推論
拡散パイプラインの使用
アダプターとパーソナライズ
最適化とスケーリング
モジュール型 Diffusers
学習とファインチューニング
リソース
コントリビュート
API
You are viewing main version, which requires installation from source. If you'd like
regular pip install, checkout the latest stable version (v0.43.0).
パイプラインの状態
PipelineState
class diffusers.modular_pipelines.PipelineState
< source >( values: dict[str, typing.Any] = <factory>kwargs_mapping: dict[str, list[str]] = <factory> )
PipelineStateはパイプラインの状態を保持します。パイプラインブロック間でデータを渡すために使用されます。
get
< source >( keys: str | list[str]default: Any = None ) → Any | dict[str, Any]
パイプラインの状態から1つ以上の値を取得します。
get_by_kwargs
< source >( kwargs_type: str ) → dict[str, Any]
kwargs_type に一致するすべての値を取得します。
set
< source >( key: strvalue: Anykwargs_type: str = None )
パイプラインの状態に値を追加します。
PipelineStateを辞書に変換します。
BlockState
属性アクセスと整形済み表現を備えたブロック状態データのコンテナ。
BlockStateを辞書に変換します。