Home
last modified time | relevance | path

Searched refs:fetches (Results 1 – 25 of 136) sorted by relevance

123456

/external/tensorflow/tensorflow/go/
Dsession.go133 func (s *Session) Run(feeds map[Output]*Tensor, fetches []Output, targets []*Operation) ([]*Tensor,…
143 c := newCRunArgs(feeds, fetches, targets)
147 ptrOutput(c.fetches), ptrTensor(c.fetchTensors), C.int(len(fetches)),
182 func (pr *PartialRun) Run(feeds map[Output]*Tensor, fetches []Output, targets []*Operation) ([]*Ten…
184 c = newCRunArgs(feeds, fetches, targets)
199 ptrOutput(c.fetches), ptrTensor(c.fetchTensors), C.int(len(fetches)),
214 func (s *Session) NewPartialRun(feeds, fetches []Output, targets []*Operation) (*PartialRun, error)…
217 cfetches = make([]C.TF_Output, len(fetches))
232 if len(fetches) > 0 {
234 for i, o := range fetches {
[all …]
Dsession_test.go226 fetches, err := pr.Run(
233 v1 := fetches[0].Value().(int32)
239 fetches, err = pr.Run(
246 v2 := fetches[0].Value().(int32)
/external/tensorflow/tensorflow/python/debug/wrappers/
Dframework.py188 def __init__(self, fetches, feed_dict, run_options, run_metadata, argument
204 self.fetches = fetches
398 fetches, argument
433 if callable_runner and (fetches or feed_dict):
437 elif callable_options and (fetches or feed_dict):
455 empty_fetches = is_empty(fetches)
469 return self._sess.run(fetches,
476 OnRunStartRequest(fetches, feed_dict, options, run_metadata,
483 run_start_resp, fetches, feed_dict, options, run_metadata,
487 run_start_resp, fetches, feed_dict, options, run_metadata,
[all …]
Dgrpc_wrapper.py34 fetches, argument
60 run_key = common.get_run_key(feed_dict, fetches)
122 def prepare_run_debug_urls(self, fetches, feed_dict): argument
193 def _gated_grpc_watch_fn(fetches, feeds): argument
194 del fetches, feeds # Unused.
213 fetches, argument
222 self._grpc_debug_server_urls, self.graph, feed_dict, fetches,
225 fetches,
Ddisk_usage_test.py57 def _watch_fn(fetches, feeds): argument
58 del fetches, feeds
66 def _watch_fn(fetches, feeds): argument
67 del fetches, feeds
85 def _watch_fn(fetches, feeds): argument
86 del fetches, feeds
94 def _watch_fn(fetches, feeds): argument
95 del fetches, feeds
Dhooks.py112 run_context.original_args.fetches, run_context.original_args.feed_dict,
200 run_context.original_args.fetches, run_context.original_args.feed_dict)
285 fetches = run_context.original_args.fetches
287 watch_options = self._watch_fn(fetches, feed_dict)
293 fetches, feed_dict),
335 def _gated_grpc_watch_fn(fetches, feeds): argument
336 del fetches, feeds # Unused.
356 run_context.original_args.fetches, self._sent_graph_version)
Ddumping_wrapper_test.py174 def watch_fn(fetches, feeds): argument
177 if fetches.name == "inc_v:0":
216 def watch_fn(fetches, feeds): argument
217 del fetches, feeds
239 def watch_fn(fetches, feeds): argument
240 del fetches, feeds
285 def counting_watch_fn(fetches, feed_dict): argument
286 del fetches, feed_dict
328 def counting_watch_fn(fetches, feed_dict): argument
329 del fetches, feed_dict
Ddumping_wrapper.py92 def prepare_run_debug_urls(self, fetches, feed_dict): argument
118 fetches_event.log_message.message = repr(fetches)
/external/tensorflow/tensorflow/python/client/
Dsession.py64 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument
68 def partial_run_setup(self, fetches, feeds=None): argument
72 def partial_run(self, handle, fetches, feed_dict=None): argument
275 fetches, contraction_fn = fetch_fn(fetch)
276 return _ElementFetchMapper(fetches, contraction_fn)
285 def __init__(self, fetches, contraction_fn): argument
302 for fetch in fetches:
368 def __init__(self, fetches): argument
374 if isinstance(fetches, wrapt.ObjectProxy):
375 self._fetch_type = type(fetches.__wrapped__)
[all …]
Dsession_partial_run_test.py120 fetches = [x * 2, x * 3]
121 handle = sess.partial_run_setup(fetches=fetches, feeds=[])
124 sess.partial_run(handle, fetches[0])
179 h = sess.partial_run_setup(fetches=[b], feeds=[a])
191 sess.partial_run_setup(fetches=[], feeds=[x])
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_large_data_test.py70 def watch_fn(fetches, feeds): argument
71 del fetches, feeds
101 def watch_fn(fetches, feeds): argument
102 del fetches, feeds # Unused by this watch_fn.
125 def watch_fn(fetches, feeds): argument
126 del fetches, feeds
155 def watch_fn(fetches, feeds): argument
156 del fetches, feeds
177 def watch_fn(fetches, feeds): argument
178 del fetches, feeds
[all …]
Dcommon.py74 def get_run_key(feed_dict, fetches): argument
87 get_flattened_names(fetches)))
/external/tensorflow/tensorflow/python/debug/cli/
Dcli_shared_test.py180 fetches = [self.const_a, self.const_b]
181 run_start_intro = cli_shared.get_run_start_intro(1, fetches, None, {})
192 description = cli_shared.get_run_short_description(1, fetches, None)
196 fetches = [self.const_c, [self.const_a, self.const_b]]
197 run_start_intro = cli_shared.get_run_start_intro(1, fetches, None, {})
205 description = cli_shared.get_run_short_description(1, fetches, None)
209 fetches = {"c": self.const_c, "ab": {"a": self.const_a, "b": self.const_b}}
210 run_start_intro = cli_shared.get_run_start_intro(1, fetches, None, {})
222 description = cli_shared.get_run_short_description(1, fetches, None)
226 fetches = (self.const_a, self.const_b)
[all …]
Dcli_shared.py280 fetches, argument
301 fetch_lines = common.get_flattened_names(fetches)
387 fetches, argument
410 if isinstance(fetches, (ops.Tensor, ops.Operation, variables.Variable)):
411 description += "1 fetch (%s); " % common.get_graph_element_name(fetches)
414 num_fetches = len(common.get_flattened_names(fetches))
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit.c57 unsigned fetches[MAP_SIZE]; member
70 memset(vsplit->cache.fetches, 0xff, sizeof(vsplit->cache.fetches)); in vsplit_clear_cache()
96 if (vsplit->cache.fetches[hash] != fetch) { in vsplit_add_cache()
98 vsplit->cache.fetches[hash] = fetch; in vsplit_add_cache()
131 vsplit->cache.fetches[hash] = 0; in vsplit_add_cache_ubyte()
148 vsplit->cache.fetches[hash] = 0; in vsplit_add_cache_ushort()
174 vsplit->cache.fetches[hash] = 0; in vsplit_add_cache_uint()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-interactive-session.pbtxt37 …argspec: "args=[\'self\', \'fetches\', \'feed_list\', \'accept_options\'], varargs=None, keywords=…
41 …argspec: "args=[\'self\', \'handle\', \'fetches\', \'feed_dict\'], varargs=None, keywords=None, de…
45 …argspec: "args=[\'self\', \'fetches\', \'feeds\'], varargs=None, keywords=None, defaults=[\'None\'…
49 …argspec: "args=[\'self\', \'fetches\', \'feed_dict\', \'options\', \'run_metadata\'], varargs=None…
Dtensorflow.-session.pbtxt37 …argspec: "args=[\'self\', \'fetches\', \'feed_list\', \'accept_options\'], varargs=None, keywords=…
41 …argspec: "args=[\'self\', \'handle\', \'fetches\', \'feed_dict\'], varargs=None, keywords=None, de…
45 …argspec: "args=[\'self\', \'fetches\', \'feeds\'], varargs=None, keywords=None, defaults=[\'None\'…
53 …argspec: "args=[\'self\', \'fetches\', \'feed_dict\', \'options\', \'run_metadata\'], varargs=None…
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dtest_util.py29 def grappler_optimize(graph, fetches=None, config_proto=None): argument
46 if fetches is not None:
47 for fetch in fetches:
/external/tensorflow/tensorflow/python/profiler/
Dprofile_context.py46 fetches, argument
58 if self.profile_context._should_trace(step, self.graph, fetches):
74 fetches, feed_dict, options, run_metadata)
82 ret = self._profiler_run_internal(fetches, feed_dict, options)
109 fetches, feed_dict, options, run_metadata)
263 def _should_trace(self, step, graph, fetches): argument
277 … session._FetchMapper.for_fetch(fetches).unique_fetches()] # pylint: disable=protected-access
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc637 std::vector<string> fetches; in TEST() local
651 fetches.push_back(a2->name()); in TEST()
665 fetches.push_back(b2->name()); in TEST()
673 Status status = session->Run({}, fetches, {}, nullptr); in TEST()
694 std::vector<string> fetches; in TEST() local
708 fetches.push_back(a2->name()); in TEST()
722 fetches.push_back(b2->name()); in TEST()
730 Status status = session->Run({}, fetches, {}, nullptr); in TEST()
753 std::vector<string> fetches; in TEST() local
770 fetches.push_back(a2->name()); in TEST()
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py104 fetches=[filename_tensor,
156 fetches = {name: out for name, out in signature_def.outputs.items()}
158 signature_fn = wrapped.prune(feeds=feeds, fetches=fetches)
231 fetches=[init_anchor, wrapped.graph.as_graph_element(init_op)])
/external/tensorflow/tensorflow/python/training/
Dsession_run_hook.py210 def __new__(cls, fetches, feed_dict=None, options=None): argument
211 return super(SessionRunArgs, cls).__new__(cls, fetches, feed_dict, options)
Dmonitored_session.py760 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument
775 fetches,
1274 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument
1280 fetches,
1420 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument
1425 actual_fetches = {'caller': fetches}
1428 original_args=session_run_hook.SessionRunArgs(fetches, feed_dict),
1439 fetches=actual_fetches,
1462 if request.fetches is not None:
1463 fetch_dict[hook] = request.fetches
Dmonitored_session_test.py1053 return step_context.run_with_hooks(fetches=v, feed_dict={c: value})
1086 return step_context.run_with_hooks(fetches=v, feed_dict={c: value})
1119 return step_context.run_with_hooks(fetches=v, feed_dict={c: value})
1165 return step_context.session.run(fetches=v, feed_dict={c: value})
1201 return step_context.run_with_hooks(fetches=v, feed_dict={c: value})
1236 return step_context.run_with_hooks(fetches=v, feed_dict={c: value})
1258 def run(self, fetches, **kwargs): argument
1261 return monitored_session._WrappedSession.run(self, fetches)
1273 output = mon_sess.run(fetches=a_tensor,
1318 mon_sess.run(fetches='a_tensor')
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtensor_tracer.py985 def _filter_execution_path_operations(self, operations, fetches): argument
989 if fetches is None:
992 if not isinstance(fetches, (list, tuple)):
993 fetches = [fetches]
996 for fetch in fetches:
1227 fetches = []
1230 fetches.append(fetch)
1233 return fetches
1243 fetches = []
1246 fetches.append(fetch)
[all …]

123456