According to the doc 33, if scale_grad_by_freq set to true, then grad will be scaled according to the freq of the words in dictionary.
But where does the Embedding layer find out the freq of each word? I mean I didn’t see any param to tell this freq info to the Embedding layer other than this scale_grad_by_freq param.