Buckets:
パイプラインの状態
PipelineState[[diffusers.modular_pipelines.PipelineState]]
diffusers.modular_pipelines.PipelineState[[diffusers.modular_pipelines.PipelineState]]
diffusers.modular_pipelines.PipelineState(values: dict[str, typing.Any] = <factory>, kwargs_mapping: dict[str, list[str]] = <factory>)
PipelineStateはパイプラインの状態を保持します。パイプラインブロック間でデータを渡すために使用されます。
get[[diffusers.modular_pipelines.PipelineState.get]]
get(keys: str | list[str], default: Any = None)
パラメータ:
keys (str | list[str]) : 値のキーまたはキーのリスト
default (Any) : 見つからない場合に返すデフォルト値
戻り値: Any | dict[str, Any]
keysがstrの場合は単一の値、keysがlistの場合は値の辞書
パイプラインの状態から1つ以上の値を取得します。
get_by_kwargs[[diffusers.modular_pipelines.PipelineState.get_by_kwargs]]
get_by_kwargs(kwargs_type: str)
パラメータ:
kwargs_type (str) : フィルターに使用するkwargs_type
戻り値: dict[str, Any]
kwargs_type と一致する値の辞書
kwargs_type に一致するすべての値を取得します。
set[[diffusers.modular_pipelines.PipelineState.set]]
set(key: str, value: Any, kwargs_type: str = None)
パラメータ:
key (str) : 値のキー
value (Any) : 保存する値
kwargs_type (str) : 値に関連付けられているkwargs_type
パイプラインの状態に値を追加します。
to_dict[[diffusers.modular_pipelines.PipelineState.to_dict]]
to_dict()
PipelineStateを辞書に変換します。
BlockState[[diffusers.modular_pipelines.BlockState]]
diffusers.modular_pipelines.BlockState[[diffusers.modular_pipelines.BlockState]]
diffusers.modular_pipelines.BlockState(**kwargs)
属性アクセスと整形済み表現を備えたブロック状態データのコンテナ。
as_dict[[diffusers.modular_pipelines.BlockState.as_dict]]
as_dict()
戻り値: dict[str, Any]
BlockState のすべての属性を含む辞書
BlockStateを辞書に変換します。
Xet Storage Details
- Size:
- 3.15 kB
- Xet hash:
- 3b6005c3e93aff1104e06eedc765ad640a62df26ab5b5fd3b7d9a895d9cf41be
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.