how can I freeze subset of layers of NN from training in C++? OR is there a way to only pass subset (some parameter group)of model params to the optimizer for gradient updates in C++?
Thanks in advance.