Keraflow
Deep Learning for Python.
 All Classes Namespaces Functions Pages
keraflow.layers.core.Highway Class Reference

Densely connected highway network. More...

Inheritance diagram for keraflow.layers.core.Highway:

Public Member Functions

def __init__
 

Detailed Description

Densely connected highway network.

A natural extension of LSTMs to feedforward networks.

  • input_shape: 2D, (nb_samples, input_dim)
  • output_shape: 2D, (nb_samples, input_dim)
  • parameters:
    • W, W_carry: (input_dim, input_dim)
    • b, b_carry: (input_dim,)
  • Reference: Highway Networks

Constructor & Destructor Documentation

def keraflow.layers.core.Highway.__init__ (   self,
  transform_bias = -2,
  init = 'glorot_uniform',
  activation = 'linear',
  bias = True,
  kwargs 
)
Parameters
transform_biasinitial value for all elements of b_carry.
initstr/function. Function to initialize trainable parameters. See Initializations.
activationstr/function. Activation function applied on the output. See Activations.
biasboolean. Whether to include a bias (i.e. make the layer affine rather than linear).
kwargssee Layer.__init__.