ComfyUI Node

NNT Edit Model Layers

A ComfyUI node in NNT Neural Network Toolkit/Models with 10 inputs and 3 outputs.

By inventorado·Created 2 years ago·Updated 2 years ago· 69
NNT Edit Model Layers
  • MODEL
  • edited_model
  • info_message
  • layer_stats
operationFreeze
parameter_typeboth
layer_selectionAll layers
layer_typesAll
num_layers1
initializationkaiming_normal
custom_value0.0
pruning_amount0.5
quantization_bits8
CategoryNNT Neural Network Toolkit/Models

Inputs (10)

NameTypeDefaultDescription
MODELMODEL
operationCOMBOFreeze5 options: Freeze, Unfreeze, Set weights and biases, Prune, Quantize
parameter_typeCOMBOboth3 options: weights, biases, both
layer_selectionCOMBOAll layers4 options: All layers, First N layers, Last N layers, Selected types
layer_typesCOMBOAll4 options: Linear, Conv2d, BatchNorm2d, All
num_layersINT11–1000
initializationCOMBOkaiming_normal9 options: random, zeros, ones, xavier_uniform, xavier_normal, kaiming_uniform, +3
custom_valueFLOAT0.0-10000000000–10000000000
pruning_amountFLOAT0.50–0.9
quantization_bitsINT84–32

Outputs (3)

NameTypeDescription
edited_modelMODEL
info_messageSTRING
layer_statsDICT