Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently handle and manipulate batches of floating-point numbers with versatile functionalities for data processing tasks.
The Batch Float (mtb) node is designed to handle and manipulate batches of floating-point numbers efficiently. This node provides a suite of functionalities that allow you to normalize, fill, assemble, and transform batches of floats, making it a versatile tool for various data processing tasks. Whether you need to normalize a list of floats to a specific range, fill a batch with a particular value, or assemble multiple batches into a single stream, the Batch Float (mtb) node offers the necessary methods to achieve these tasks seamlessly. Its primary goal is to simplify the manipulation of float batches, ensuring that you can perform complex operations with ease and precision.
This parameter represents a list of floating-point numbers that you want to process. The list can contain any number of floats, and the specific operation performed on this list will depend on the method being used. For example, in the normalization method, this list will be normalized to a range between 0 and 1. There are no specific minimum or maximum values for this parameter, as it is designed to handle any list of floats provided.
This parameter is used in the fill method to determine where the new values should be added in the list. It can take two options: "head" or "tail". If "head" is selected, the values will be added to the beginning of the list. If "tail" is selected, the values will be added to the end of the list. The default value is "tail".
This parameter specifies the floating-point number that will be used to fill the list in the fill method. The default value is 0.0, but you can specify any float value that you want to use for filling the list.
This parameter indicates the target length of the list after filling. If the current size of the list is less than this count, the list will be filled with the specified value until it reaches the target length. The default value is 1.
This parameter is used in the assemble method to determine the order in which the batches should be combined. It is a boolean value that can be set to True or False. If set to True, the batches will be combined in reverse order. The default value is False.
This output parameter represents the list of floats after they have been normalized. The values in this list will be scaled to a range between 0 and 1, based on the minimum and maximum values in the original list. This normalization process ensures that the data is standardized, which can be useful for various analytical and processing tasks.
This output parameter represents the list of floats after they have been processed by the fill or assemble methods. In the fill method, this list will contain the original floats along with the specified value added to either the head or tail until the target length is reached. In the assemble method, this list will contain the combined floats from multiple batches, either in the original or reverse order.
{size}
) is less than target count ({count}
)© Copyright 2024 RunComfy. All Rights Reserved.