/external/autotest/client/tests/synctest/src/ |
Makefile | 3 FLAGS= -Wall -O2 6 $(CROSS_COMPILE)gcc $(FLAGS) $^ -o $(TARGET)
|
/external/tensorflow/tensorflow/contrib/graph_editor/examples/ |
edit_graph_example.py | 27 FLAGS = tf.flags.FLAGS
|
/external/tensorflow/tensorflow/python/platform/ |
app_test.py | 16 """Tests for our flags implementation.""" 24 from tensorflow.python.platform import flags 26 FLAGS = flags.FLAGS 27 flags.DEFINE_boolean('myflag', False, '')
|
/external/tensorflow/tensorflow/python/tools/ |
strip_unused.py | 51 FLAGS = None 55 strip_unused_lib.strip_unused_from_files(FLAGS.input_graph, 56 FLAGS.input_binary, 57 FLAGS.output_graph, 58 FLAGS.output_binary, 59 FLAGS.input_node_names, 60 FLAGS.output_node_names, 61 FLAGS.placeholder_type_enum) 106 FLAGS, unparsed = parser.parse_known_args()
|
inspect_checkpoint.py | 27 from tensorflow.python.platform import flags 29 FLAGS = None 102 if v_type is not bool else flags.BooleanParser().parse(v_str)) 109 if not FLAGS.file_name: 117 print_tensors_in_checkpoint_file(FLAGS.file_name, FLAGS.tensor_name, 118 FLAGS.all_tensors, FLAGS.all_tensor_names) 155 FLAGS, unparsed = parser.parse_known_args()
|
optimize_for_inference.py | 71 FLAGS = None 75 if not gfile.Exists(FLAGS.input): 76 print("Input graph file '" + FLAGS.input + "' does not exist!") 80 with gfile.Open(FLAGS.input, "rb") as f: 82 if FLAGS.frozen_graph: 89 FLAGS.input_names.split(","), 90 FLAGS.output_names.split(","), FLAGS.placeholder_type_enum) 92 if FLAGS.frozen_graph: 93 f = gfile.FastGFile(FLAGS.output, "w" [all...] |
/external/tensorflow/tensorflow/tools/quantization/ |
graph_to_dot.py | 31 from tensorflow.python.platform import flags 34 FLAGS = flags.FLAGS 36 flags.DEFINE_string("graph", "", """TensorFlow 'GraphDef' file to load.""") 37 flags.DEFINE_bool("input_binary", True, 39 flags.DEFINE_string("dot_output", "", """Where to write the DOT output.""") 43 if not gfile.Exists(FLAGS.graph): 44 print("Input graph file '" + FLAGS.graph + "' does not exist!") 48 with open(FLAGS.graph, "r") as f [all...] |
/external/autotest/client/tests/cyclictest/src/ |
Makefile | 3 FLAGS= -Wall -Wno-nonnull -O2 7 $(CROSS_COMPILE)gcc $(FLAGS) $^ -o $(TARGET) $(LIBS)
|
/external/autotest/client/tests/signaltest/ |
Makefile | 4 FLAGS= -Wall -O2 8 $(CC) $(FLAGS) $^ -o $(TARGET) $(LIBS)
|
/external/autotest/client/tests/signaltest/src/ |
Makefile | 3 FLAGS = -Wall -O2 7 $(CC) $(FLAGS) $^ -o $(TARGET) $(LIBS)
|
/external/capstone/bindings/ocaml/ |
Makefile | 5 FLAGS = '-Wall -Wextra -Wwrite-strings' 8 ocamlopt -o test_basic -ccopt $(FLAGS) ocaml.o capstone.cmx test_basic.cmx -cclib -l$(LIB) 9 ocamlopt -o test_detail -ccopt $(FLAGS) capstone.cmx ocaml.o test_detail.cmx -cclib -l$(LIB) 10 ocamlopt -o test_x86 -ccopt $(FLAGS) capstone.cmx ocaml.o x86.cmx x86_const.cmx test_x86.cmx -cclib -l$(LIB) 11 ocamlopt -o test_arm -ccopt $(FLAGS) capstone.cmx ocaml.o arm.cmx arm_const.cmx test_arm.cmx -cclib -l$(LIB) 12 ocamlopt -o test_arm64 -ccopt $(FLAGS) capstone.cmx ocaml.o arm64.cmx arm64_const.cmx test_arm64.cmx -cclib -l$(LIB) 13 ocamlopt -o test_mips -ccopt $(FLAGS) capstone.cmx ocaml.o mips.cmx mips_const.cmx test_mips.cmx -cclib -l$(LIB) 14 ocamlopt -o test_ppc -ccopt $(FLAGS) capstone.cmx ocaml.o ppc.cmx ppc_const.cmx test_ppc.cmx -cclib -l$(LIB) 15 ocamlopt -o test_sparc -ccopt $(FLAGS) capstone.cmx ocaml.o sparc.cmx sparc_const.cmx test_sparc.cmx -cclib -l$(LIB) 16 ocamlopt -o test_systemz -ccopt $(FLAGS) capstone.cmx ocaml.o systemz.cmx sysz_const.cmx test_systemz.cmx -cclib -l$(LIB [all...] |
/external/libxml2/VxWorks/ |
Makefile | 16 FLAGS = -Wall -g -Isrc -Isrc/include -D_REENTRANT=1
17 #FLAGS = -Wall -O2 -Isrc -Isrc/include -D_REENTRANT=1
19 FLAGS += $(DEFINE_CC) $(CC_ARCH_SPEC) -MD -MP -D_VX_CPU=_VX_$(CPU) -D_VX_TOOL_FAMILY=gnu -D_VX_TOOL=$(TOOL)
21 FLAGS += -mrtp -fpic -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip
23 FLAGS += -D_WRS_KERNEL -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
59 $(CC) $(FLAGS) $(LIB_LDFLAGS) -shared -o $@ $(patsubst %.o, objs/%.o, $(OBJS))
62 $(CC) $(FLAGS) -o $@ $(patsubst %.o, objs/%.o, $(OBJS))
65 $(CC) $(FLAGS) -o $@ -c $<
|
/external/lz4/contrib/gen_manual/ |
Makefile | 36 FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) 53 $(CXX) $(FLAGS) $^ -o $@$(EXT)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
inspect_checkpoint.py | 27 FLAGS = None 58 if not FLAGS.file_name: 63 print_tensors_in_checkpoint_file(FLAGS.file_name, FLAGS.tensor_name) 81 FLAGS, unparsed = parser.parse_known_args()
|
/external/tensorflow/tensorflow/contrib/lite/toco/python/ |
toco_from_protos.py | 25 FLAGS = None 29 model_str = open(FLAGS.model_proto_file, "rb").read() 30 toco_str = open(FLAGS.toco_proto_file, "rb").read() 31 input_str = open(FLAGS.model_input_file, "rb").read() 34 open(FLAGS.model_output_file, "wb").write(output_str) 39 global FLAGS 57 FLAGS, unparsed = parser.parse_known_args()
|
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/ |
cifar10_eval.py | 47 FLAGS = None 60 ckpt = tf.train.get_checkpoint_state(FLAGS.checkpoint_dir) 80 num_iter = int(math.ceil(FLAGS.num_examples / 128)) 108 eval_data = FLAGS.eval_data == 'test' 127 summary_writer = tf.summary.FileWriter(FLAGS.eval_dir, g) 131 if FLAGS.run_once: 133 time.sleep(FLAGS.eval_interval_secs) 138 if tf.gfile.Exists(FLAGS.eval_dir): 139 tf.gfile.DeleteRecursively(FLAGS.eval_dir) 140 tf.gfile.MakeDirs(FLAGS.eval_dir [all...] |
/external/tensorflow/tensorflow/contrib/session_bundle/example/ |
export_half_plus_two.py | 39 FLAGS = None 141 Export(FLAGS.export_dir, FLAGS.use_checkpoint_v2) 160 FLAGS, unparsed = parser.parse_known_args()
|
/external/tensorflow/tensorflow/examples/how_tos/reading_data/ |
fully_connected_preloaded.py | 42 # Basic model parameters as external flags. 43 FLAGS = None 50 data_sets = input_data.read_data_sets(FLAGS.train_dir, FLAGS.fake_data) 61 [input_images, input_labels], num_epochs=FLAGS.num_epochs) 64 [image, label], batch_size=FLAGS.batch_size) 67 logits = mnist.inference(images, FLAGS.hidden1, FLAGS.hidden2) 73 train_op = mnist.training(loss, FLAGS.learning_rate) 94 summary_writer = tf.summary.FileWriter(FLAGS.train_dir, sess.graph [all...] |
fully_connected_preloaded_var.py | 41 # Basic model parameters as external flags. 42 FLAGS = None 49 data_sets = input_data.read_data_sets(FLAGS.train_dir, FLAGS.fake_data) 67 [input_images, input_labels], num_epochs=FLAGS.num_epochs) 70 [image, label], batch_size=FLAGS.batch_size) 73 logits = mnist.inference(images, FLAGS.hidden1, FLAGS.hidden2) 79 train_op = mnist.training(loss, FLAGS.learning_rate) 105 summary_writer = tf.summary.FileWriter(FLAGS.train_dir, sess.graph [all...] |
/external/tensorflow/tensorflow/examples/learn/ |
random_forest_mnist.py | 34 FLAGS = None 42 num_trees=FLAGS.num_trees, 43 max_nodes=FLAGS.max_nodes) 45 if FLAGS.use_training_loss: 53 model_dir = tempfile.mkdtemp() if not FLAGS.model_dir else FLAGS.model_dir 58 mnist = input_data.read_data_sets(FLAGS.data_dir, one_hot=False) 63 batch_size=FLAGS.batch_size, 80 batch_size=FLAGS.batch_size, 136 FLAGS, unparsed = parser.parse_known_args( [all...] |
/external/tensorflow/tensorflow/python/debug/examples/ |
debug_fibonacci.py | 29 FLAGS = None 37 np.ones([FLAGS.tensor_size] * 2), dtype=tf.int32, name="node_00") 39 np.ones([FLAGS.tensor_size] * 2), dtype=tf.int32, name="node_01") 41 for i in xrange(2, FLAGS.length): 47 if FLAGS.debug and FLAGS.tensorboard_debug_address: 49 "The --debug and --tensorboard_debug_address flags are mutually " 51 if FLAGS.debug: 59 elif FLAGS.tensorboard_debug_address: 61 sess, FLAGS.tensorboard_debug_address [all...] |
/external/tensorflow/tensorflow/tools/dist_test/python/ |
mnist_replica.py | 46 flags = tf.app.flags variable 47 flags.DEFINE_string("data_dir", "/tmp/mnist-data", 49 flags.DEFINE_boolean("download_only", False, 52 flags.DEFINE_integer("task_index", None, 56 flags.DEFINE_integer("num_gpus", 1, "Total number of gpus for each machine." 58 flags.DEFINE_integer("replicas_to_aggregate", None, 62 flags.DEFINE_integer("hidden_units", 100, 64 flags.DEFINE_integer("train_steps", 200, 66 flags.DEFINE_integer("batch_size", 100, "Training batch size" [all...] |
/external/tensorflow/tensorflow/contrib/tpu/profiler/pip_package/cloud_tpu_profiler/ |
main.py | 20 from absl import flags 29 flags.DEFINE_string( 33 flags.DEFINE_string( 38 flags.DEFINE_string('tpu_name', None, 43 flags.DEFINE_string( 46 flags.DEFINE_string('logdir', None, 49 flags.DEFINE_integer('duration_ms', 2000, 'Duration of tracing in ms.') 50 flags.DEFINE_integer('num_tracing_attempts', 3, 53 flags.DEFINE_boolean('include_dataset_ops', True, 57 FLAGS = flags.FLAG [all...] |
/external/v8/tools/clang/scripts/ |
blink_gc_plugin_flags.py | 6 # This script returns the flags that should be passed to clang. 19 FLAGS = '-Xclang -add-plugin -Xclang blink-gc-plugin' 24 FLAGS += PREFIX + 'dump-graph' 26 FLAGS += PREFIX + 'warn-unneeded-finalizer' 35 FLAGS = ('-Xclang -load -Xclang "%s/libBlinkGCPlugin.%s" ' + FLAGS) % \ 38 print FLAGS
|
/external/lz4/examples/ |
Makefile | 32 FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) 54 $(CC) $(FLAGS) $^ -o $@$(EXT) 57 $(CC) $(FLAGS) $^ -o $@$(EXT) 60 $(CC) $(FLAGS) $^ -o $@$(EXT) 63 $(CC) $(FLAGS) $^ -o $@$(EXT) 66 $(CC) $(FLAGS) $^ -o $@$(EXT) 69 $(CC) $(FLAGS) $^ -o $@$(EXT) 72 $(CC) $(FLAGS) $^ -o $@$(EXT) $(LZ4DIR)/liblz4.a 75 $(CC) $(FLAGS) $^ -o $@$(EXT) -lrt 78 $(CC) $(FLAGS) $^ -o $@$(EXT [all...] |