Home
last modified time | relevance | path

Searched refs:path_to_file (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/cros/
Dliststorage.py36 def read_file(path_to_file, host=None): argument
43 if not host.path_exists(path_to_file):
44 raise error.TestError("No such file or directory %s" % path_to_file)
45 return host.run('cat %s' % path_to_file).stdout.strip()
47 if not os.path.isfile(path_to_file):
48 raise error.TestError("No such file or directory %s" % path_to_file)
49 return utils.read_file(path_to_file)
/external/tensorflow/tensorflow/contrib/eager/python/examples/nmt_with_attention/
Dnmt_with_attention.ipynb123 "path_to_file = os.path.dirname(path_to_zip)+\"/spa-eng/spa.txt\""
288 …r, inp_lang, targ_lang, max_length_inp, max_length_targ = load_dataset(path_to_file, num_examples)"