Skip to content

tensorflow

calculate the standard deviation or variance of the tensor in Tensorflow

Easy way to calculate the standard deviation or variance of the tensor in TensorFlow?

Let’s see how you can calculate the standard deviation or variance of the tensor. As you know while building a neural network, you have to perform aggregation on the tensor often. Finding maximum, minimum, and sum is done via the same piece of code with very little change in it. But finding variance or standard deviation will require some tweaks.… Continue readingEasy way to calculate the standard deviation or variance of the tensor in TensorFlow?