MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / batch_decode

Method batch_decode

tests/input/test_text_processor.py:91–92  ·  view source on GitHub ↗
(self, batch, **kwargs)

Source from the content-addressed store, hash-verified

89 return delta, prefix_offset, read_offset
90
91 def batch_decode(self, batch, **kwargs):
92 return [self.decode(seq) for seq in batch]
93
94 def apply_chat_template(self, request, **kwargs):
95 if isinstance(request, dict):

Callers 3

ids2tokensMethod · 0.45
ids2tokensMethod · 0.45
run_hfFunction · 0.45

Calls 1

decodeMethod · 0.95

Tested by

no test coverage detected