0

I am interested in making a "dropout like" layer that is static throughout the course of training and testing, in keras. Unlike normal dropout, I only want to sever a certain amount of random weights, not the entire node. I.e. certain neurons cannot connect to others and will never be able to. Is creating a custom layer the easiest way to achieve this? Here is my current progress.

I would also like to be able to visualize the dropout mask.

stop-cran
  • 4,229
  • 2
  • 30
  • 47
Jordan Ott
  • 31
  • 3

1 Answers1

0

I don't think you need to edit any source code. Just use seed parameter as given here.

Akhilesh
  • 1,024
  • 1
  • 9
  • 26