Decoder contructor.
Lower-level Decoder objects to pass the conductor
LSTM output embeddings to for futher decoding.
The LayerVars for each layer of the conductor LSTM.
The LayerVars for projecting from the latent
variable z to the initial states of the conductor LSTM layers.
The number of embeddings the conductor LSTM should produce and pass to the lower-level decoder.
Hierarchically decodes a batch of latent vectors, z.
A batch of latent vectors to decode, sized [batchSize, zDims].
The length of decoded sequences.
(Optional) The softmax temperature to use when sampling from the logits. Argmax is used if not provided.
(Optional) Control tensors to use for conditioning, sized
[length, controlDepth].
A boolean tensor containing the decoded sequences, shaped
[batchSize, length, depth].
Generated using TypeDoc
Hierarchical decoder that produces intermediate embeddings to pass to lower-level
Decoderobjects. The outputs from different decoders are concatenated depth-wise (axis 3), and the outputs from different steps of the conductor are concatenated across time (axis 1).