i resolved it. i had not created instance of class model. we need to create instance of class model and then call function
model = micro_models.NetowrkCIFAR(24, 5, 11, False, genotype)
model.load_state_dict(torch.load("model.pth"))

those are the some of the parameters we need to pass to model class to create instance
that line was missing before
Thank you for your help