function that calculates the delta function of a darch object with batch normalization

1 2 | ```
backpropagate_delta_bn(darch, trainData, targetData,
errorFunc = meanSquareErr, with_BN = TRUE)
``` |

`darch` |
a darch instance |

`trainData` |
training input |

`targetData` |
training target |

`errorFunc` |
error function to minimize during training. Right now mean squared erros and cross entropy errors are supported. |

`with_BN` |
traing with batch normalization on or off |

Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift Sergey Ioffe, Christian Szegedy

http://jmlr.org/proceedings/papers/v37/ioffe15.pdf Pg 4

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.