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

Function CreateWarmupParams

serving/processor/serving/model_instance.cc:77–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77Status CreateWarmupParams(SignatureDef& sig_def, Call* call) {
78 for (auto it : sig_def.inputs()) {
79 const auto& tensor = CreateTensor(it.second);
80 call->request.inputs.emplace_back(it.second.name(), tensor);
81 }
82
83 for (auto it : sig_def.outputs()) {
84 call->request.output_tensor_names.emplace_back(it.second.name());
85 }
86
87 return Status::OK();
88}
89
90Status CreateWarmupParams(SignatureDef& sig_def,
91 const std::string& warmup_file_name,

Callers 1

WarmupMethod · 0.85

Calls 8

CreateTensorFunction · 0.70
nameMethod · 0.65
closeMethod · 0.65
StatusClass · 0.50
inputsMethod · 0.45
emplace_backMethod · 0.45
outputsMethod · 0.45
ParseRequestMethod · 0.45

Tested by

no test coverage detected