class_docstr: Allows to create stack layers for a given network.
class_docstr_tok: ["Allows","to","create","stack","layers","for","a","given","network","."]
code: def __validate_padding(padding):
      if padding not in LayerFactory.AVAILABLE_PADDINGS:
          raise Exception("Padding {} not valid".format(padding))
  
file_path: mtcnn/mtcnn/layer_factory.py
imports: import tensorflow
  from distutils.version import LooseVersion
label_desc: Use image node_id 2 for calling the LayerFactory obj's underlying member method code with example usage: obj.__validate_padding(padding) without return types