I am a beginner in Python. I want to calculate the covariance matrix of a mini-batch in a given hidden layer.

  • $\begingroup$ Do you know the definition of the covariance matrix? $\endgroup$ – nbro Oct 4 at 13:10
  • $\begingroup$ yes, I know. My problem is how to get the outputs of the hidden layer during one mini-batch to calculate the covariance matrix. $\endgroup$ – wafa Oct 5 at 19:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.