Currently in Swift for TensorFlow the Layer protocol has the following requirement:
Layer
protocol Layer {