Skip to content

wwu-mmll/keras-drop-connect

 
 

Repository files navigation

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},
)

About

Drop-connect wrapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.4%
  • Shell 3.6%