No, it's what @goodfeli does in his DBM `CompositeLayer` code and I just copied it.