Searched refs:needsGradient (Results 1 – 3 of 3) sorted by relevance
33 bool needsGradient(const std::shared_ptr<const Graph>& graph);
742 if (needsGradient(opt_graph)) { in compileSpec()906 bool needsGradient(const std::shared_ptr<const Graph>& graph) { in needsGradient() function
1085 … actual requires a gradient to be calculated, which is determined by `needsGradient`. In the case …