Contents

BNNSDirectApplyLSTMBatchTrainingCaching(_:_:_:_:)

Applies a long short-term memory (LSTM) layer directly to an input.

Declaration

func BNNSDirectApplyLSTMBatchTrainingCaching(_ layer_params: UnsafePointer<BNNSLayerParametersLSTM>, _ filter_params: UnsafePointer<BNNSFilterParameters>?, _ training_cache_ptr: UnsafeMutableRawPointer?, _ training_cache_capacity: Int) -> Int32

Parameters

  • layer_params:

    The LSTM layer parameters.

  • filter_params:

    Filter runtime parameters.

  • training_cache_ptr:

    A pointer to the training cache buffer.

  • training_cache_capacity:

    The minimum bytes capacity of the training cache buffer as computed by the training cache capacity function.

Mentioned in

See Also

Recurrent layers