/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
D | main.py | 43 data_dir=FLAGS.data_dir, config=config) 130 def get_datasets(data_dir, config): argument 132 if data_dir is None: 134 if not os.path.exists(data_dir): 135 raise ValueError("Data directory {} does not exist".format(data_dir)) 141 data_dir = os.path.join(data_dir, config.dataset) 145 data_dir=data_dir, 156 data_dir=data_dir, 168 data_dir=data_dir, 181 data_dir=data_dir, [all …]
|
D | cifar_tfrecords.py | 42 def download_and_extract(data_dir, file_name, url): argument 44 filepath = os.path.join(data_dir, file_name) 47 if not tf.gfile.Exists(data_dir): 48 tf.gfile.MakeDirs(data_dir) 51 tarfile.open(os.path.join(filepath), 'r:gz').extractall(data_dir) 130 data_dir = os.path.join(FLAGS.data_dir, folder) 131 download_and_extract(data_dir, file_name, url) 133 input_dir = os.path.join(data_dir, extract_folder) 137 output_file = os.path.join(data_dir, mode + '.tfrecords')
|
D | main_estimator.py | 92 def get_input_fn(config, data_dir, split): argument 104 data_dir = os.path.join(data_dir, config.dataset) 122 data_dir=data_dir, 162 config=config, data_dir=FLAGS.data_dir, split="train_all") 164 config=config, data_dir=FLAGS.data_dir, split="test")
|
D | imagenet_input.py | 75 data_dir, argument 84 self.data_dir = data_dir 87 if self.data_dir == 'null' or self.data_dir == '': 88 self.data_dir = None 148 if self.data_dir is None: 159 self.data_dir, 'train-*' if self.is_training else 'validation-*')
|
D | cifar_input.py | 31 def get_ds_from_tfrecords(data_dir, argument 98 filename = os.path.join(data_dir, split + ".tfrecords")
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
D | text_datasets.py | 40 def maybe_download_dbpedia(data_dir): argument 42 train_path = os.path.join(data_dir, 'dbpedia_csv/train.csv') 43 test_path = os.path.join(data_dir, 'dbpedia_csv/test.csv') 46 'dbpedia_csv.tar.gz', data_dir, DBPEDIA_URL) 48 tfile.extractall(data_dir) 55 data_dir = os.path.join(os.getenv('TF_EXP_BASE_DIR', ''), 'dbpedia_data') 56 maybe_download_dbpedia(data_dir) 58 train_path = os.path.join(data_dir, 'dbpedia_csv', 'train.csv') 59 test_path = os.path.join(data_dir, 'dbpedia_csv', 'test.csv')
|
/external/skqp/infra/bots/recipe_modules/flavor/ |
D | chromecast.py | 24 data_dir = '/cache/skia/' 28 perf_data_dir = data_dir + 'perf', 29 resource_dir = data_dir + 'resources', 30 images_dir = data_dir + 'images', 31 lotties_dir = data_dir + 'lotties', 32 skp_dir = data_dir + 'skps', 33 svg_dir = data_dir + 'svgs', 34 tmp_dir = data_dir)
|
/external/skia/infra/bots/recipe_modules/flavor/ |
D | chromecast.py | 24 data_dir = '/cache/skia/' 28 perf_data_dir = data_dir + 'perf', 29 resource_dir = data_dir + 'resources', 30 images_dir = data_dir + 'images', 31 lotties_dir = data_dir + 'lotties', 32 skp_dir = data_dir + 'skps', 33 svg_dir = data_dir + 'svgs', 34 tmp_dir = data_dir)
|
/external/skia/third_party/icu/ |
D | BUILD.gn | 25 data_dir = "../externals/icu/" 29 data_dir += "flutter" 31 data_dir += "android" 33 data_dir += "ios" 35 data_dir += "common" 42 "$data_dir/icudtl.dat", 55 "$data_dir/icudtl.dat",
|
/external/skqp/third_party/icu/ |
D | BUILD.gn | 20 data_dir = "../externals/icu/" 22 data_dir += "android" 24 data_dir += "ios" 26 data_dir += "common" 31 "$data_dir/icudtl.dat",
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | defaults.py | 59 def data_dir(): function 63 return data_dir() + "/perm_map" 66 return data_dir() + "/interface_info" 69 return data_dir() + "/attribute_info"
|
/external/tensorflow/tensorflow/python/debug/examples/ |
D | debug_tflearn_iris.py | 37 def maybe_download_data(data_dir): argument 47 if not os.path.isdir(data_dir): 48 os.makedirs(data_dir) 50 training_data_path = os.path.join(data_dir, 59 test_data_path = os.path.join(data_dir, os.path.basename(IRIS_TEST_DATA_URL)) 92 training_data_path, test_data_path = maybe_download_data(FLAGS.data_dir)
|
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/ |
D | cifar10_input.py | 140 def distorted_inputs(data_dir, batch_size): argument 152 os.path.join(data_dir, 'data_batch_%d.bin' % i) for i in xrange(1, 6) 206 def inputs(eval_data, data_dir, batch_size): argument 220 os.path.join(data_dir, 'data_batch_%d.bin' % i) for i in xrange(1, 6) 224 filenames = [os.path.join(data_dir, 'test_batch.bin')]
|
D | cifar10_pruning.py | 143 data_dir = os.path.join(DATA_DIR, 'cifar-10-batches-bin') 145 data_dir=data_dir, batch_size=BATCH_SIZE) 164 data_dir = os.path.join(DATA_DIR, 'cifar-10-batches-bin') 166 eval_data=eval_data, data_dir=data_dir, batch_size=BATCH_SIZE)
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | cros_gs.py | 80 data_dir = os.path.basename(data) 81 print msg % os.path.join(self.bucket, bucket_dir, data_dir) 87 def rmdir(self, data_dir): argument 89 simple_system(self.rm_cmd % os.path.join(data_dir, '*'))
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_colorbot/ |
D | rnn_colorbot.py | 118 def load_dataset(data_dir, url, batch_size): argument 123 path = maybe_download(os.path.basename(url), data_dir, url) 251 data_dir = os.path.join(FLAGS.dir, "data") 253 data_dir=data_dir, url=SOURCE_TRAIN_URL, batch_size=FLAGS.batch_size) 255 data_dir=data_dir, url=SOURCE_TEST_URL, batch_size=FLAGS.batch_size)
|
/external/autotest/cli/ |
D | server.py | 282 data_dir = inventory_repo.get_data_dir() 283 infrastructure = text_manager.load_infrastructure(data_dir) 293 text_manager.dump_infrastructure(data_dir, infrastructure) 358 data_dir = inventory_repo.get_data_dir() 359 infrastructure = text_manager.load_infrastructure(data_dir) 362 text_manager.dump_infrastructure(data_dir, infrastructure) 505 data_dir = inventory_repo.get_data_dir() 506 infrastructure = text_manager.load_infrastructure(data_dir) 519 text_manager.dump_infrastructure(data_dir, infrastructure)
|
/external/toolchain-utils/fdo_scripts/ |
D | summarize_hot_blocks.py | 64 def __init__(self, data_dir, cutoff, output_dir, tempdir): argument 65 self._data_dir = data_dir 168 if not all((options.data_dir, options.cutoff, options.output_dir)): 174 co = Collector(options.data_dir, int(options.cutoff), options.output_dir,
|
/external/googletest/ |
D | run_tests.py | 58 data_dir = os.path.join(os.environ['OUT'], 'data') 59 test_location = os.path.join(data_dir, 'nativetest64') 61 test_location = os.path.join(data_dir, 'nativetest')
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | input_data.py | 191 def __init__(self, data_url, data_dir, silence_percentage, unknown_percentage, argument 194 if data_dir: 195 self.data_dir = data_dir 196 self.maybe_download_and_extract_dataset(data_url, data_dir) 279 search_path = os.path.join(self.data_dir, '*', '*.wav') 349 background_dir = os.path.join(self.data_dir, BACKGROUND_NOISE_DIR_NAME) 356 search_path = os.path.join(self.data_dir, BACKGROUND_NOISE_DIR_NAME,
|
/external/tensorflow/tensorflow/tools/ci_build/builds/ |
D | test_tutorials.sh | 119 --data_dir="${TUT_TEST_DATA_DIR}/mnist" 149 --data_dir="${TUT_TEST_DATA_DIR}/mnist" --log_dir="${SUMMARIES_DIR}" 184 --data_dir="${TUT_TEST_DATA_DIR}/cifar10" --max_steps=50 \
|
/external/grpc-grpc/src/ruby/qps/ |
D | qps-common.rb | 35 data_dir = File.join(File.dirname(this_dir), 'spec/testdata') 37 files.map { |f| File.open(File.join(data_dir, f)).read }
|
/external/grpc-grpc/src/ruby/bin/ |
D | noproto_server.rb | 58 data_dir = File.join(File.dirname(this_dir), 'spec/testdata') 60 files.map { |f| File.open(File.join(data_dir, f)).read }
|
D | noproto_client.rb | 49 data_dir = File.join(File.dirname(this_dir), 'spec/testdata') 51 files.map { |f| File.open(File.join(data_dir, f)).read }
|
/external/python/setuptools/setuptools/tests/ |
D | test_find_packages.py | 121 data_dir = self._mkdir('some.data', self.pkg_dir) 122 self._touch('__init__.py', data_dir) 123 self._touch('file.dat', data_dir)
|