Contents

init(data_desc:hidden_desc:cell_state_desc:)

Returns a new long short-term memory (LSTM) data descriptor structure from the specified parameters.

Declaration

init(data_desc: BNNSNDArrayDescriptor, hidden_desc: BNNSNDArrayDescriptor, cell_state_desc: BNNSNDArrayDescriptor)

Parameters

  • data_desc:

    The descriptor of the input-output.

  • hidden_desc:

    The descriptor of the hidden input-output.

  • cell_state_desc:

    The descriptor of the cell-state input-output.

See Also

Initializers