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

Function ShouldWarmup

serving/processor/serving/model_instance.cc:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108bool ShouldWarmup(SignatureDef& sig_def) {
109 for (auto it : sig_def.inputs()) {
110 if (it.second.dtype() == DT_STRING) return false;
111 }
112 return true;
113}
114
115void StringReplace(std::string& strBig, const std::string& strsrc,
116 const std::string& strdst) {

Callers 1

WarmupMethod · 0.85

Calls 2

inputsMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected