Resent50 identity_block method in video not in code?

Video Lesson 7 @ 15:56 covers the method identity_block in resnet50.py

Looking at the copies of resnet50.py on the fast.ai github and the keras-team github repos, I can’t find a version corresponding to the video.


The keras-team github repo shows

x = layers.add([x, input_tensor])

While the video shows
x = merge([x, input_tensor], mode=‘sum’)

am I correct in assuming these two lines are equivalent?

The gap between the resnet50.py version from github and the video is confusing.