MCPcopy
hub / github.com/philipperemy/tensorflow-1.4-billion-password-analysis / decode

Method decode

data_gen.py:60–63  ·  view source on GitHub ↗
(self, x, calc_argmax=True)

Source from the content-addressed store, hash-verified

58 return x
59
60 def decode(self, x, calc_argmax=True):
61 if calc_argmax:
62 x = x.argmax(axis=-1)
63 return ''.join(self.indices_char[x] for x in x)
64
65
66class colors:

Callers 4

train_model.pyFile · 0.80
build_vocabularyFunction · 0.80
stream_from_fileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected