Relevant article I’m looking at:

  

      stackoverflow.com
  

  
      
    
  


  How to fix tensorflow "InvalidArgumentError: Shapes of all inputs must match" 15



  python, tensorflow, machine-learning, keras



  asked by
  
  
    Madison Sheridan
  
  on 10:41PM - 22 Jul 19 UTC


  

  
    
    
  

  


The actual custom optimizer I’m using:
  

      gist.github.com
  

  
    https://gist.github.com/erick016/30567f54946cf9e2804db2ab10da5dd4 4

  custom_optimizer.py
  #!/usr/bin/env python
# coding: utf-8

# In[1]:


#momentum "m_hat" and gradient "g_hat"


# In[2]:
    This file has been truncated. show original