BNNSDirectApplyLSTMBatchBackward(_:_:_:_:_:)
Applies a long short-term memory (LSTM) filter backward to generate gradients.
Declaration
func BNNSDirectApplyLSTMBatchBackward(_ layer_params: UnsafePointer<BNNSLayerParametersLSTM>, _ layer_delta_params: UnsafePointer<BNNSLayerParametersLSTM>, _ filter_params: UnsafePointer<BNNSFilterParameters>?, _ training_cache_ptr: UnsafeRawPointer?, _ training_cache_capacity: Int) -> Int32Parameters
- layer_params:
The LSTM layer parameters.
- layer_delta_params:
The LSTM layer delta 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.