diff --git a/docs/reference/node_reference.md b/docs/reference/node_reference.md index 22bd52f..e0aebcc 100644 --- a/docs/reference/node_reference.md +++ b/docs/reference/node_reference.md @@ -123,9 +123,7 @@ ## Miscellaneous | Node | Description | | --- | --- | -| [Pt Arange](pt_arange.md) | Creates a PyTorch tensor using `torch.arange` with the specified start, end, and step values. | | [Pt Flatten](pt_flatten.md) | Flattens a PyTorch tensor into a 1D tensor. | -| [Pt Linspace](pt_linspace.md) | Creates a PyTorch tensor using `torch.arange` with the specified start, end, and steps values. | ## Numpy | Node | Description | | --- | --- | @@ -237,6 +235,7 @@ ## PyTorch wrapper - Tensor creation | Node | Description | | --- | --- | +| [Pt Arange](pt_arange.md) | Creates a PyTorch tensor using `torch.arange` with the specified start, end, and step values. | | [Pt Bool Create](pt_bool_create.md) | Creates a PyTorch tensor of dtype bool from True or False values entered as a list in the text field. | | [Pt Float Create](pt_float_create.md) | Creates a PyTorch tensor with 32-bit floating point precision | | [Pt From Image](pt_from_image.md) | Casts an Image tensor as a PyTorch tensor. | @@ -244,6 +243,7 @@ | [Pt From Numpy](pt_from_numpy.md) | Converts a NumPy ndarray to a PyTorch tensor while preserving its data type. | | [Pt Full](pt_full.md) | Creates a PyTorch tensor filled with a specified value using the size entered in the text field. | | [Pt Int Create](pt_int_create.md) | Creates a PyTorch tensor with 32-bit integer | +| [Pt Linspace](pt_linspace.md) | Creates a PyTorch tensor using `torch.arange` with the specified start, end, and steps values. | | [Pt Ones](pt_ones.md) | Creates a PyTorch tensor of ones using the size entered in the text field. | | [Pt Rand](pt_rand.md) | Creates a PyTorch tensor with values sampled from a uniform distribution | | [Pt Rand Int](pt_rand_int.md) | Creates a PyTorch tensor filled with random integers within a specified range using the size entered in the text field. | diff --git a/docs/reference/pt_arange.md b/docs/reference/pt_arange.md index 6fd6fd9..3a5e325 100644 --- a/docs/reference/pt_arange.md +++ b/docs/reference/pt_arange.md @@ -4,8 +4,6 @@ Creates a PyTorch tensor using `torch.arange` with the specified start, end, and The values are parsed from string inputs and converted to numeric types. This allows users to specify tensor range values in text fields. The function also ensures proper dtype selection. -Category: PyTorch wrapper - Tensor creation - ## Input | Name | Data type | |---|---| @@ -20,6 +18,6 @@ Category: PyTorch wrapper - Tensor creation | Tensor |
-Category: Miscellaneous +Category: PyTorch wrapper - Tensor creation ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved. diff --git a/docs/reference/pt_linspace.md b/docs/reference/pt_linspace.md index 09ed1e7..5d3c7f0 100644 --- a/docs/reference/pt_linspace.md +++ b/docs/reference/pt_linspace.md @@ -4,8 +4,6 @@ Creates a PyTorch tensor using `torch.arange` with the specified start, end, and The start and end values are parsed from string inputs and converted to a float. The steps value is converted to an int. -Category: PyTorch wrapper - Tensor creation - ## Input | Name | Data type | |---|---| @@ -20,6 +18,6 @@ Category: PyTorch wrapper - Tensor creation | Tensor |
-Category: Miscellaneous +Category: PyTorch wrapper - Tensor creation ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved. diff --git a/modules/pytorch_wrapper/pt_arange.py b/modules/pytorch_wrapper/pt_arange.py index 405b90e..8d33fb1 100644 --- a/modules/pytorch_wrapper/pt_arange.py +++ b/modules/pytorch_wrapper/pt_arange.py @@ -17,7 +17,7 @@ class PtArange: The values are parsed from string inputs and converted to numeric types. This allows users to specify tensor range values in text fields. The function also ensures proper dtype selection. - Category: PyTorch wrapper - Tensor creation + category: PyTorch wrapper - Tensor creation """ @classmethod diff --git a/modules/pytorch_wrapper/pt_linspace.py b/modules/pytorch_wrapper/pt_linspace.py index b0f4c59..c7a16a8 100644 --- a/modules/pytorch_wrapper/pt_linspace.py +++ b/modules/pytorch_wrapper/pt_linspace.py @@ -17,7 +17,7 @@ class PtLinspace: The start and end values are parsed from string inputs and converted to a float. The steps value is converted to an int. - Category: PyTorch wrapper - Tensor creation + category: PyTorch wrapper - Tensor creation """ @classmethod