class
VanillaLSTMBuilder extends RNNBuilder
Instance Constructors
-
new
VanillaLSTMBuilder(layers: Long, input_dim: Long, hidden_dim: Long, model: ParameterCollection)
-
new
VanillaLSTMBuilder(layers: Long, input_dim: Long, hidden_dim: Long, model: ParameterCollection, ln_lstm: Boolean)
-
new
VanillaLSTMBuilder(layers: Long, input_dim: Long, hidden_dim: Long, model: ParameterCollection, ln_lstm: Boolean, forget_bias: Float)
-
new
VanillaLSTMBuilder()
-
new
VanillaLSTMBuilder(cPtr: Long, cMemoryOwn: Boolean)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
-
final
def
asInstanceOf[T0]: T0
-
-
def
clone(): AnyRef
-
def
copy(params: RNNBuilder): Unit
-
def
delete(): Unit
-
def
disable_dropout(): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
-
-
def
finalize(): Unit
-
-
-
final
def
getClass(): Class[_]
-
def
getDropout_masks_valid(): Boolean
-
def
getDropout_rate_h(): Float
-
def
getForget_bias(): Float
-
-
-
def
getHas_initial_state(): Boolean
-
def
getHid(): Long
-
def
getInput_dim(): Long
-
def
getLayers(): Long
-
def
getLn_lstm(): Boolean
-
-
-
-
-
-
-
-
def
get_head(p: Int): Int
-
-
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
-
def
new_graph(cg: ComputationGraph, update: Boolean): Unit
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
num_h0_components(): Long
-
def
rewind_one_step(): Unit
-
-
-
def
setDropout_masks_valid(value: Boolean): Unit
-
def
setDropout_rate_h(value: Float): Unit
-
def
setForget_bias(value: Float): Unit
-
-
-
def
setHas_initial_state(value: Boolean): Unit
-
def
setHid(value: Long): Unit
-
def
setInput_dim(value: Long): Unit
-
def
setLayers(value: Long): Unit
-
def
setLn_lstm(value: Boolean): Unit
-
-
-
-
-
-
-
def
set_dropout(d: Float, d_r: Float): Unit
-
def
set_dropout(d: Float): Unit
-
def
set_dropout_masks(): Unit
-
def
set_dropout_masks(batch_size: Long): Unit
-
def
set_h(prev: Int): Expression
-
-
def
set_s(prev: Int): Expression
-
-
def
start_new_sequence(): Unit
-
def
start_new_sequence(h_0: ExpressionVector): Unit
-
def
state(): Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any