How to get fully connected layer (fc) of resnet model?

I was wondering how can I get the output of the flattened layer of a resnet (e.g. resnet 152) just before it is fed into the fc layers.

(See picture below)

I do not know how to get this neurons to combine them from e.g. some features coming from tabular data. Thanks in advance!