Hey folks, I figured out what was going on in August, and it turns out I wasn’t clearing the Laplace noise samples that I had created, as per the algorithm. Using the same code, and only storing one hundred noise samples at a time, I can prevent this error from occurring. I’ll link to my next question post - if and when it is approved - so you can follow along with the “story” if you are so inclined.
Hope someone can help with my next question. I’m really crash coursing myself in this stuff.

  
    
    
    Custom loss function - "Shapes of all inputs must match" General Discussion
  
  
    Hi y’all… continuing the sage from my previous post. I’ve included code snippets for your viewing at the bottom. Let me know if you need more! 
Currently, I’m trying to build out a GradientTape with just some integers I obtained from a custom loss function. It seems like it’s trying to find the gradient for multiple variables at once, as I had to change the GradientTape to persistent, or I got the following error: 
RuntimeError: A non-persistent GradientTape can only be used to compute one set o…