How can l load my best model as a feature extractor/evaluator?

What if l would like to do that for an intermediate layer lets say the forth layer ?