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

Method IsSparseApplyFtrlOps

tensorflow/core/graph/graph.h:179–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 type_string() == "ResourceApplyFtrlV2";
178 }
179 bool IsSparseApplyFtrlOps() const {
180 return type_string() == "SparseApplyFtrl" ||
181 type_string() == "GroupSparseApplyFtrl" ||
182 type_string() == "ResourceGroupSparseApplyFtrl" ||
183 type_string() == "ResourceSparseApplyFtrl" ||
184 type_string() == "KvResourceSparseApplyFtrl" ||
185 type_string() == "KvResourceSparseApplyFtrlWithCounts" ||
186 type_string() == "SparseApplyFtrlV2" ||
187 type_string() == "ResourceSparseApplyFtrlV2" ||
188 type_string() == "KvResourceSparseApplyFtrlV2" ||
189 type_string() == "KvResourceSparseApplyFtrlV2WithCounts";
190 }
191 bool IsKvSparseApply() const {
192 return type_string() == "KvResourceSparseApplyAdagrad" ||
193 type_string() == "KvResourceSparseApplyAdagradDecay" ||

Callers 2

FindGradientOpsFunction · 0.80
ExtendGraphFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected