nondefaced_detector.models.model.TruncatedSubmodel¶
-
TruncatedSubmodel(input_layer)[source]¶ The TruncatedSubmodel trained in Step 1 of the model.
- Parameters
input_layer (tf.keras.Input) – The input keras tensor object to instantiate a keras model
- Returns
A flattened truncated network created from 3 sequential ConvBNRelu layer blocks joined by a MaxPooling layer.
- Return type
tf.Tensor