MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsSparseApplyAdagradOps

Method IsSparseApplyAdagradOps

tensorflow/core/graph/graph.h:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 type_string() == "ResourceApplyAdagrad";
152 }
153 bool IsSparseApplyAdagradOps() const {
154 return type_string() == "SparseApplyAdagrad" ||
155 type_string() == "KvResourceSparseApplyAdagrad" ||
156 type_string() == "KvResourceSparseApplyAdagradWithCounts" ||
157 type_string() == "ResourceSparseApplyAdagrad";
158 }
159 bool IsApplyAdamOps() const {
160 return type_string() == "ApplyAdam" ||
161 type_string() == "ResourceApplyAdam";

Callers 2

FindGradientOpsFunction · 0.80
ExtendGraphFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected