MCPcopy Create free account
hub / github.com/pytorch/tutorials / findFiles

Function findFiles

intermediate_source/char_rnn_generation_tutorial.py:93–93  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

91n_letters = len(all_letters) + 1 # Plus EOS marker
92
93def findFiles(path): return glob.glob(path)
94
95# Turn a Unicode string to plain ASCII, thanks to https://stackoverflow.com/a/518232/2809427
96def unicodeToAscii(s):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected