/external/tensorflow/tensorflow/compiler/jit/ |
H A D | build_xla_launch_ops_pass.cc | 41 NodeDef def; local 42 def.set_name(graph->NewName(nodename)); 43 def.set_op("_XlaLaunch"); 44 def.set_device(device_name); 45 AddNodeAttr("Tconstants", constant_dtypes, &def); 46 AddNodeAttr("Targs", arg_dtypes, &def); 47 AddNodeAttr("Nresources", num_resources, &def); 48 AddNodeAttr("Tresults", result_dtypes, &def); 52 AddNodeAttr("function", function, &def); 55 *node = graph->AddNode(def, [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
H A D | tf2xla_util_test.cc | 162 GraphDef def; local 163 auto* n = def.add_node(); 169 ExpectErrorContains(PruneGraphDefInto(FetchesConfig({"missing"}), def, ©), 171 ExpectErrorContains(PruneGraphDefInto(FetchesConfig({"a"}), def, ©), 174 n = def.add_node(); 176 ExpectErrorContains(PruneGraphDefInto(FetchesConfig({"a"}), def, ©), 180 n = def.add_node(); 184 n = def.add_node(); 191 TF_EXPECT_OK(PruneGraphDefInto(FetchesConfig({"a"}), def, ©)); 192 EXPECT_EQ(def [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
H A D | direct_session_with_tracking_alloc_test.cc | 68 GraphDef def; local 69 test::graph::ToGraphDef(&graph, &def); 78 TF_ASSERT_OK(session->Create(def)); 133 GraphDef def; local 134 test::graph::ToGraphDef(&g, &def); 135 TF_ASSERT_OK(session->Create(def)); 176 GraphDef def; local 177 test::graph::ToGraphDef(&graph, &def); 188 TF_ASSERT_OK(session->Create(def)); 261 GraphDef def; local 320 GraphDef def; local [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
H A D | grpc_testlib_server.cc | 99 tensorflow::ServerDef def; local 101 num_gpus, task_index, &def); 109 s = tensorflow::NewServer(def, &svr);
|
/external/tensorflow/tensorflow/core/framework/ |
H A D | common_shape_fns_test.cc | 59 NodeDef def; local 63 .Finalize(&def)); 65 InferenceContext c(TF_GRAPH_DEF_VERSION, &def, op_def, {S({}), S({10})}, {}, 79 NodeDef def; local 81 NodeDefBuilder("test", "L2Loss").Input("t", 0, DT_FLOAT).Finalize(&def)); 84 InferenceContext c(TF_GRAPH_DEF_VERSION, &def, op_def, {S({})}, {}, {}, {}); 91 InferenceContext c(TF_GRAPH_DEF_VERSION, &def, op_def, 110 NodeDef def; local 116 .Finalize(&def)); 119 InferenceContext c(TF_GRAPH_DEF_VERSION, &def, op_de 227 NodeDef def; local 331 NodeDef def; local 998 NodeDef def; local 1011 NodeDef def; local 1024 NodeDef def; local 1038 NodeDef def; local 1052 NodeDef def; local 1066 NodeDef def; local 1079 NodeDef def; local 1092 NodeDef def; local 1105 NodeDef def; local 1118 NodeDef def; local [all...] |
/external/zlib/src/examples/ |
H A D | fitblk.c | 70 /* compress from file to def until provided buffer is full or end of 73 local int partcompress(FILE *in, z_streamp def) argument 80 def->avail_in = fread(raw, 1, RAWLEN, in); 83 def->next_in = raw; 86 ret = deflate(def, flush); 88 } while (def->avail_out != 0 && flush == Z_NO_FLUSH); 92 /* recompress from inf's input to def's output; the input for inf and 93 the output for def are set in those structures before calling; 96 local int recompress(z_streamp inf, z_streamp def) argument 113 def 134 z_stream def, inf; /* zlib deflate and inflate states */ local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
H A D | XSLTElementProcessor.java | 72 * @param def The element definition object that produced and constrains this element. 74 void setElemDef(XSLTElementDef def) argument 76 m_elemDef = def; 291 XSLTElementDef def = getElemDef(); 319 XSLTAttributeDef attrDef = def.getAttributeDef(attrUri, attrLocalName); 369 XSLTAttributeDef[] attrDefs = def.getAttributes();
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
H A D | SettingsPicker.java | 54 public void setMinMaxDefault(int min, int max, int def) { argument 58 setValue(def);
|
/external/emma/core/java12/com/vladium/util/ |
H A D | Property.java | 197 public static String getSystemProperty (final String key, final String def) argument 201 return System.getProperty (key, def); 205 return def;
|
/external/fio/oslib/ |
H A D | libmtd_common.h | 140 static inline bool prompt(const char *msg, bool def) argument 144 bool ret = def; 147 normsg_cont("%s (%c/%c) ", msg, def ? 'Y' : 'y', def ? 'n' : 'N'); 152 def ? "yes" : "no");
|
/external/libvpx/libvpx/ |
H A D | args.c | 32 a.def = NULL; 36 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) { argument 43 if (def->short_name && strlen(arg.argv[0]) == strlen(def->short_name) + 1 && 44 !strcmp(arg.argv[0] + 1, def->short_name)) { 46 arg.val = def->has_val ? arg.argv[1] : NULL; 47 arg.argv_step = def->has_val ? 2 : 1; 48 } else if (def->long_name) { 49 const size_t name_len = strlen(def->long_name); 52 !strncmp(arg.argv[0] + 2, def 94 const struct arg_def *def = *defs; local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | LiveInterval.h | 54 SlotIndex def; member in class:llvm::VNInfo 58 : id(i), def(d) 63 : id(i), def(orig.def) 68 def = src.def; 75 bool isPHIDef() const { return def.isBlock(); } 78 bool isUnused() const { return !def.isValid(); } 81 void markUnused() { def = SlotIndex(); } 113 /// Return true if this instruction has a dead def [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetSubtargetInfo.h | 160 virtual void adjustSchedDependency(SUnit *def, SUnit *use, SDep &dep) const {} argument
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_liveness.c | 53 index_ssa_def(nir_ssa_def *def, void *void_state) argument 57 if (def->parent_instr->type == nir_instr_type_ssa_undef) 58 def->live_index = 0; 60 def->live_index = state->num_ssa_defs++; 102 set_ssa_def_dead(nir_ssa_def *def, void *void_live) argument 106 BITSET_CLEAR(live, def->live_index); 233 src_does_not_use_def(nir_src *src, void *def) argument 235 return !src->is_ssa || src->ssa != (nir_ssa_def *)def; 239 search_for_use_after_instr(nir_instr *start, nir_ssa_def *def) argument 245 if (!nir_foreach_src(instr, src_does_not_use_def, def)) 256 nir_ssa_def_is_live_at(nir_ssa_def *def, nir_instr *instr) argument [all...] |
H A D | nir_lower_clip.c | 126 nir_ssa_def *def = NULL; local 131 assert(!(new_def && def)); 132 def = new_def; 139 if (def) 146 return def;
|
H A D | nir_lower_drawpixels.c | 119 nir_ssa_def *def; local 128 * TEX def, texcoord, drawpix_sampler, 2D 142 def = &tex->dest.ssa; 146 /* MAD def, def, scale, bias; */ 147 def = nir_ffma(b, def, get_scale(state), get_bias(state)); 157 /* TEX def.xy, def.xyyy, pixelmap_sampler, 2D; */ 166 tex->src[0].src = nir_src_for_ssa(nir_swizzle(b, def, swiz_x [all...] |
H A D | nir_lower_regs_to_ssa.c | 61 nir_ssa_def *def = nir_phi_builder_value_get_block_def(value, block); local 62 nir_instr_rewrite_src(instr, src, nir_src_for_ssa(def)); 79 nir_ssa_def *def = nir_phi_builder_value_get_block_def(value, block); 80 nir_if_rewrite_condition(nif, nir_src_for_ssa(def)); 137 * the number of components in the SSA def at the same time.
|
H A D | nir_opt_copy_propagate.c | 84 nir_ssa_def *def = NULL; local 89 if (def == NULL) { 90 def = instr->src[i].src.ssa; 91 } else if (instr->src[i].src.ssa != def) { 161 nir_ssa_def *def; 168 def = alu_instr->src[0].src.ssa; 170 def = NULL; 177 if (def == NULL) 178 def = new_def; 180 if (def ! [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
H A D | nv50_ir_lowering_gm107.cpp | 103 Value *def[4][4]; local 169 def[c][l] = bld.getSSA(); 170 mov = bld.mkMov(def[c][l], tex->getDef(c)); 179 u->setSrc(l, def[c][l]);
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
H A D | Convert.h | 405 uint32_t def = FormatTraits<SrcFormat>::GetDefault(comp); local 406 dstPixel[comp] = *(float*)&def;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_nir_opt_peephole_ffma.c | 37 are_all_uses_fadd(nir_ssa_def *def) argument 39 if (!list_empty(&def->if_uses)) 42 nir_foreach_use(use_src, def) { 154 if (list_is_singular(&load_const->def.uses) && 155 list_empty(&load_const->def.if_uses)) {
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
H A D | javamicro_message.cc | 59 string def = field->DebugString(); local 60 printer->Print("// $def$\n", 61 "def", def.substr(0, def.find_first_of('\n')));
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowSettings.java | 31 public static int getInt(ContentResolver cr, String name, int def) { argument 35 return def; 70 public static long getLong(ContentResolver cr, String name, long def) { argument 74 return def; 94 public static float getFloat(ContentResolver cr, String name, float def) { argument 98 return def;
|
/external/tensorflow/tensorflow/cc/profiler/ |
H A D | profiler_test.cc | 52 GraphDef def; local 53 TF_CHECK_OK(root.ToGraphDef(&def)); 55 return def; 99 GraphDef def = CreateGraphDef(); local 101 graph::SetDefaultDevice("/gpu:0", &def); 104 TF_CHECK_OK(session->Create(def)); 119 Profiler profiler(def);
|
/external/tensorflow/tensorflow/cc/tutorials/ |
H A D | example_trainer.cc | 79 GraphDef def; local 80 TF_CHECK_OK(root.ToGraphDef(&def)); 82 return def; 102 GraphDef def = CreateGraphDef(); local 104 graph::SetDefaultDevice(opts->use_gpu ? "/device:GPU:0" : "/cpu:0", &def); 107 TF_CHECK_OK(session->Create(def));
|