def _setLayerRule(layer, rule=None):
    layer.ClearField('include')
    layer.ClearField('exclude')
    if rule is not None:
        layer.include.add().CopyFrom(rule)
Set a new include rule for this layer
dataset/ETHPy150Open NVIDIA/DIGITS/digits/model/tasks/caffe_train.py/_setLayerRule