| 328 | } |
| 329 | |
| 330 | static bool IsPrimitiveOpWithNoGrad(const string& func) { |
| 331 | gradient::Creator creator; |
| 332 | Status s = gradient::GetOpGradientCreator(func, &creator); |
| 333 | return s.ok() && (creator == nullptr); |
| 334 | } |
| 335 | |
| 336 | Status SymbolicGradientBuilder::Compute() { |
| 337 | // Initialize backprops. |
no test coverage detected