mixture-density-networks icon indicating copy to clipboard operation
mixture-density-networks copied to clipboard

sample_mode computation question

Open rteja1113 opened this issue 4 years ago • 1 comments

Hi @dusenberrymw , can you explain what you mean by this ?

NOTE: this breaks autograd, but that's fine because we won't be computing gradients for this path

rteja1113 avatar Jun 17 '20 19:06 rteja1113

Hi @rteja1113. That note is saying that the implementation of sample_mode is not (or at least, at the time was not) differentiable w.r.t. the inputs based on how it was written, but that it is okay because that function is only being used at prediction time in the demo.

dusenberrymw avatar Jun 24 '20 17:06 dusenberrymw