> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# RebatchLatents - ComfyUI Built-in Node Documentation

> Complete documentation for the RebatchLatents node in ComfyUI. Learn its inputs, outputs, parameters and usage.

RebatchLatents 节点旨在根据指定的批次大小，将一批潜在表示重新组织为新的批次配置。该节点确保潜在样本被适当分组，并处理维度与尺寸的变化，以支持后续处理或模型推理。

## 输入

| 参数         | 描述                                                 | 数据类型     |
| ---------- | -------------------------------------------------- | -------- |
| `Latent因素` | `Latent因素` 参数表示需要重新批处理的输入潜在表示。它对于确定输出批次的结构和内容至关重要。 | `LATENT` |
| `批量大小`     | `批量大小` 参数指定输出中每个批次所需的样本数量。它直接影响输入潜在表示的分组和划分方式。     | `INT`    |

## 输出

| 参数       | 描述                                        | 数据类型     |
| -------- | ----------------------------------------- | -------- |
| `latent` | 输出为重新组织的潜在表示批次，根据指定的批次大小进行调整。这有助于后续处理或分析。 | `LATENT` |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/RebatchLatents/zh.md)
