tensor2tensor icon indicating copy to clipboard operation
tensor2tensor copied to clipboard

question about inference output

Open terminator123 opened this issue 4 years ago • 0 comments

Description

when i use tst-decoder, i want to get each timestep's probablity, such as 'a' [0.1, 0.1, 0.2.....]。i tried to add log parameter in decode_hparams, it didn't work。 i still want to control the decode_length to break the decode process before it meets end tag but not find the params。 does anyone know? ...

Environment information

OS: <your answer here>

$ pip freeze | grep tensor
# your output here

$ python -V
# your output here

For bugs: reproduction and error logs

# Steps to reproduce:
...
# Error logs:
...

terminator123 avatar Oct 22 '20 03:10 terminator123