Buckets:
| # Pipeline durumları | |
| ## PipelineState[[diffusers.modular_pipelines.PipelineState]] | |
| #### diffusers.modular_pipelines.PipelineState[[diffusers.modular_pipelines.PipelineState]] | |
| ```python | |
| diffusers.modular_pipelines.PipelineState(values: dict = <factory>, kwargs_mapping: dict = <factory>) | |
| ``` | |
| [Kaynak](https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/modular_pipeline.py#L230) | |
| `PipelineState`, bir pipeline'ın durumunu saklar. Pipeline blokları arasında veri aktarımı için kullanılır. | |
| #### get[[diffusers.modular_pipelines.PipelineState.get]] | |
| ```python | |
| get(keys: str | list[str], default: Any = None) | |
| ``` | |
| [Kaynak](https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/modular_pipeline.py#L255) | |
| **Parametreler:** | |
| keys (str | list[str]) : Değerler için anahtar veya anahtar listesi | |
| default (Any) : Bulunamazsa döndürülecek varsayılan değer | |
| **Dönüş:** Any | dict[str, Any] | |
| keys str ise tek değer, keys list ise değerlerin sözlüğü | |
| Hattın durumundan bir veya birden fazla değer alın. | |
| #### get_by_kwargs[[diffusers.modular_pipelines.PipelineState.get_by_kwargs]] | |
| ```python | |
| get_by_kwargs(kwargs_type: str) | |
| ``` | |
| [Kaynak](https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/modular_pipeline.py#L270) | |
| **Parametreler:** | |
| kwargs_type (str) : Filtreleme için kullanılacak kwargs_type | |
| **Dönüş:** dict[str, Any] | |
| kwargs_type ile eşleşen değerlerin sözlüğü | |
| Eşleşen kwargs_type değerlerinin tümünü alın. | |
| #### set[[diffusers.modular_pipelines.PipelineState.set]] | |
| ```python | |
| set(key: str, value: Any, kwargs_type: str = None) | |
| ``` | |
| [Kaynak](https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/modular_pipeline.py#L238) | |
| **Parametreler:** | |
| key (str) : Değerin anahtarı | |
| value (Any) : Kaydedilecek değer | |
| kwargs_type (str) : Değerin ilişkilendirildiği kwargs_type | |
| Hattın durumuna bir değer ekleyin. | |
| #### to_dict[[diffusers.modular_pipelines.PipelineState.to_dict]] | |
| ```python | |
| to_dict() | |
| ``` | |
| [Kaynak](https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/modular_pipeline.py#L283) | |
| PipelineState'ı bir sözlüğe dönüştürür. | |
| ## BlockState[[diffusers.modular_pipelines.BlockState]] | |
| #### diffusers.modular_pipelines.BlockState[[diffusers.modular_pipelines.BlockState]] | |
| ```python | |
| diffusers.modular_pipelines.BlockState(**kwargs) | |
| ``` | |
| [Kaynak](https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/modular_pipeline.py#L320) | |
| Öznitelik erişimi ve biçimlendirilmiş temsil ile blok durumu verisi için kapsayıcı. | |
| #### as_dict[[diffusers.modular_pipelines.BlockState.as_dict]] | |
| ```python | |
| as_dict() | |
| ``` | |
| [Kaynak](https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/modular_pipeline.py#L337) | |
| **Dönüş:** dict[str, Any] | |
| BlockState'in tüm özniteliklerini içeren sözlük | |
| BlockState'ı bir sözlüğe dönüştürür. | |
Xet Storage Details
- Size:
- 3 kB
- Xet hash:
- 8901da70d742d67aa863ebd15c9d3632a5a5dc0f56e002c97c4bef3bc1e15b18
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.