Searched defs:def (Results 51 - 75 of 340) sorted by relevance

1234567891011>>

/external/tensorflow/tensorflow/compiler/jit/
H A Dbuild_xla_launch_ops_pass.cc41 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 Dtf2xla_util_test.cc162 GraphDef def; local
163 auto* n = def.add_node();
169 ExpectErrorContains(PruneGraphDefInto(FetchesConfig({"missing"}), def, &copy),
171 ExpectErrorContains(PruneGraphDefInto(FetchesConfig({"a"}), def, &copy),
174 n = def.add_node();
176 ExpectErrorContains(PruneGraphDefInto(FetchesConfig({"a"}), def, &copy),
180 n = def.add_node();
184 n = def.add_node();
191 TF_EXPECT_OK(PruneGraphDefInto(FetchesConfig({"a"}), def, &copy));
192 EXPECT_EQ(def
[all...]
/external/tensorflow/tensorflow/core/common_runtime/
H A Ddirect_session_with_tracking_alloc_test.cc68 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 Dgrpc_testlib_server.cc99 tensorflow::ServerDef def; local
101 num_gpus, task_index, &def);
109 s = tensorflow::NewServer(def, &svr);
/external/tensorflow/tensorflow/core/framework/
H A Dcommon_shape_fns_test.cc59 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 Dfitblk.c70 /* 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 DXSLTElementProcessor.java72 * @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 DSettingsPicker.java54 public void setMinMaxDefault(int min, int max, int def) { argument
58 setValue(def);
/external/emma/core/java12/com/vladium/util/
H A DProperty.java197 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 Dlibmtd_common.h140 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 Dargs.c32 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 DLiveInterval.h54 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 DTargetSubtargetInfo.h160 virtual void adjustSchedDependency(SUnit *def, SUnit *use, SDep &dep) const {} argument
/external/mesa3d/src/compiler/nir/
H A Dnir_liveness.c53 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 Dnir_lower_clip.c126 nir_ssa_def *def = NULL; local
131 assert(!(new_def && def));
132 def = new_def;
139 if (def)
146 return def;
H A Dnir_lower_drawpixels.c119 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 Dnir_lower_regs_to_ssa.c61 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 Dnir_opt_copy_propagate.c84 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 Dnv50_ir_lowering_gm107.cpp103 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 DConvert.h405 uint32_t def = FormatTraits<SrcFormat>::GetDefault(comp); local
406 dstPixel[comp] = *(float*)&def;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_nir_opt_peephole_ffma.c37 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 Djavamicro_message.cc59 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 DShadowSettings.java31 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 Dprofiler_test.cc52 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 Dexample_trainer.cc79 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));

Completed in 609 milliseconds

1234567891011>>