33 lines
970 B
Markdown
33 lines
970 B
Markdown
|
|
# Documentation
|
|
- Class name: ExtendCondList
|
|
- Category: Bmad/Lists/Extend
|
|
- Output node: False
|
|
|
|
ExtendCondList节点的作用是扩展一个条件列表。它允许向现有的列表中添加新的条件元素,从而实现动态扩展用于各种计算模型或过程中的条件数据。
|
|
|
|
# Input types
|
|
## Required
|
|
- inputs_len
|
|
- 'inputs_len'参数表示要添加到现有列表中的条件元素的数量。它在扩展列表容量和纳入新的条件数据方面起着至关重要的作用,可以显著影响节点的执行和结果。
|
|
- Comfy dtype: INT
|
|
- Python dtype: int
|
|
|
|
# Output types
|
|
- conditioning
|
|
- 该节点输出一个扩展后的条件元素列表,将新添加的样本整合到现有列表中。
|
|
- Comfy dtype: CONDITIONING
|
|
- Python dtype: List[Conditioning]
|
|
|
|
|
|
## Usage tips
|
|
- Infra type: `CPU`
|
|
- Common nodes: unknown
|
|
|
|
|
|
## Source code
|
|
```python
|
|
class ExtendCondList(metaclass=ExtendListMeta): TYPE = "CONDITIONING"
|
|
|
|
```
|