MCPcopy Create free account
hub / github.com/PaddlePaddle/Serving / get_fetch_list

Method get_fetch_list

python/paddle_serving_server/server.py:127–132  ·  view source on GitHub ↗
(self, infer_node_idx=-1)

Source from the content-addressed store, hash-verified

125 self.trt_use_static = False
126
127 def get_fetch_list(self, infer_node_idx=-1):
128 fetch_names = [
129 var.alias_name
130 for var in list(self.model_conf.values())[infer_node_idx].fetch_var
131 ]
132 return fetch_names
133
134 def set_max_concurrency(self, concurrency):
135 self.max_concurrency = concurrency

Callers 1

_prepare_one_serverMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected