I wanted to take a closer look at this layer(fasterRCNNLayers) by entering the following code[deepNetworkDesigner(lgraph)].
However, unlike what is in the paper(Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks), this layer did not implement alternating training.
As far as I can understand, you probably have meant "alternating training" as the four steps in the paper, i.e.,
train the RPN, then freeze RPN layers,
train RCNN, then freeze RCNN layers,
train RPN, then freeze RPN layers
train RCNN.
It is implemented in Computer Vision Toolbox! You can do this by changing TrainingMethod to 'four-step' if you change the training method of trainFasterRCNNObjectDetector. See the document for detailed explanation for this option.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.