Thanks.  I am working on some existing codebase, but I am only allowed to modify the evaluate_metric() module.  It has GT and Prediction as inputs,  but I don’t have the access to the network or the input data of the network. Therefore,  I cannot do “model.parameters()” at this point, because I don’t have “model” passed to this evaluate_metric() module.  For “inputs”,  I meant to say the data (i.e. RGB image tensor), which is not accessible inside evaluate_metric(), either.