def param_init_fflayer(options, params, prefix='ff', nin=None, nout=None, ortho=True):
 if (nin == None):
  nin = options['dim_proj']
 if (nout == None):
  nout = options['dim_proj']
 params[_p(prefix, 'W')] = norm_weight(nin, nout, ortho=ortho)
 params[_p(prefix, 'b')] = numpy.zeros((nout,)).astype('float32')
 return params

def param_init_fflayer ( options , params , prefix = 'ff' , nin = None , nout = None , ortho = True ) : if ( nin == None ) : nin = options [ 'dim_proj' ] if ( nout == None ) : nout = options [ 'dim_proj' ] params [ _p ( prefix , 'W' ) ] = norm_weight ( nin , nout , ortho = ortho ) params [ _p ( prefix , 'b' ) ] = numpy . zeros ( ( nout , ) ) . astype ( 'float32' ) return params
affine transformation + point-wise nonlinearity .