> ## 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.

# ModelSamplingDiscrete - ComfyUI Built-in Node Documentation

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

このノードは、離散サンプリング戦略を適用することでモデルのサンプリング動作を変更するように設計されています。イプシロン、v\_prediction、lcm、x0などの異なるサンプリング方法を選択でき、オプションでゼロショットノイズ比（zsnr）設定に基づいてモデルのノイズ低減戦略を調整します。

## 入力

| パラメータ    | 説明                                                                              | データ型           | Python dtype      |
| -------- | ------------------------------------------------------------------------------- | -------------- | ----------------- |
| `モデル`    | 離散サンプリング戦略が適用されるモデルです。このパラメータは、変更の対象となるベースモデルを定義するため、非常に重要です。                   | MODEL          | `torch.nn.Module` |
| `サンプリング` | モデルに適用する離散サンプリング方法を指定します。選択した方法によってモデルのサンプル生成方法が変化し、異なるサンプリング戦略を提供します。          | COMBO\[STRING] | `str`             |
| `zsnr`   | 有効にすると、ゼロショットノイズ比に基づいてモデルのノイズ低減戦略を調整するブール値フラグです。生成されるサンプルの品質や特性に影響を与える可能性があります。 | `BOOLEAN`      | `bool`            |

## 出力

| パラメータ | 説明                                                                      | データ型  | Python dtype      |
| ----- | ----------------------------------------------------------------------- | ----- | ----------------- |
| `モデル` | 指定された離散サンプリング戦略が適用された変更済みモデルです。このモデルは、指定された方法と調整を使用してサンプルを生成できるようになります。 | MODEL | `torch.nn.Module` |

> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください！ [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelSamplingDiscrete/ja.md)
