Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 762 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 762 Bytes

Keras Drop-Connect

Build Status

Install

pip install git+https://github.com/jernsting/keras-drop-connect

Usage

Set drop connect rate for all weights:

import keras
from keras_drop_connect import DropConnect

DropConnect(
    layer=keras.layers.Dense(units=10),
    rate=0.2,
)

Set drop connect rate with a dict:

import keras
from keras_drop_connect import DropConnect

DropConnect(
    layer=keras.layers.Dense(units=10),
    rate={'kernel': 0.2},
)