Bilinear-CNN-TensorFlow icon indicating copy to clipboard operation
Bilinear-CNN-TensorFlow copied to clipboard

The process that you used after outer product

Open a14en9 opened this issue 7 years ago • 2 comments

Hi, many thanks you share your code. But can you explain why you use tf.divide after you get the outer product. What's the purpose of using it and the following step, please.

a14en9 avatar Oct 30 '17 11:10 a14en9

tf.divide is used to average the summation we get after the outer product. when we take an outer product of two filters with size 28x28, it is multiplying 28x28(784) values with other 28x28(784) values. Dividing by 784 helps to keep values small.

abhaydoke09 avatar Nov 29 '17 05:11 abhaydoke09

Thank you!

a14en9 avatar Nov 30 '17 13:11 a14en9