Home
last modified time | relevance | path

Searched +full:node +full:- +full:watch (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc7 http://www.apache.org/licenses/LICENSE-2.0
59 // Debug ops and URLs for wildcard node names (if any). in InsertNodes()
71 for (const DebugTensorWatch& watch : watches) { in InsertNodes() local
72 if (watch.debug_ops().empty()) { in InsertNodes()
76 if (watch.debug_urls().empty()) { in InsertNodes()
80 if (watch.node_name() == "*") { in InsertNodes()
81 if (watch.output_slot() == -1) { in InsertNodes()
83 watch.debug_ops().begin(), in InsertNodes()
84 watch.debug_ops().end()); in InsertNodes()
86 watch.debug_urls().begin(), in InsertNodes()
[all …]
Dgrpc_session_debug_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
57 Node* a = test::graph::Constant(&graph, a_tensor); in CreateGraphDef()
58 node_names[0] = a->name(); in CreateGraphDef()
62 Node* b = test::graph::Constant(&graph, b_tensor); in CreateGraphDef()
63 node_names[1] = b->name(); in CreateGraphDef()
66 Node* c = test::graph::Matmul(&graph, a, b, false, false); in CreateGraphDef()
67 node_names[2] = c->name(); in CreateGraphDef()
87 ->mutable_optimizer_options() in Options()
88 ->set_opt_level(OptimizerOptions::L0); in Options()
90 ->mutable_rewrite_options() in Options()
[all …]
Ddebug_io_utils.h7 http://www.apache.org/licenses/LICENSE-2.0
72 // debug_node_key: A DebugNodeKey identifying the debug node.
98 // Determines whether a copy node needs to perform deep-copy of input tensor.
106 // debug ops attached to the Copy node, their debug URLs and whether
115 // Determines whether a debug node needs to proceed given the current gRPC
119 // watch_key: debug tensor watch key, in the format of
121 // debug_urls: the debug URLs of the debug node.
132 // watch_key: debug tensor watch key, in the format of
163 // debug_node_key: A DebugNodeKey identifying the debug node.
177 // node_name: Name of the node from which the dumped tensor is generated,
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_utils.py7 # http://www.apache.org/licenses/LICENSE-2.0
27 global_step=-1):
28 """Add watch on a `Tensor` to `RunOptions`.
32 (e.g., if the node of the `Tensor` is constant-folded during runtime).
34 `tf.while_loop`s in the graph are set to 1 to prevent any node from
36 subsequent non-debugged runs of the same `tf.while_loop`s.
40 node_name: (`str`) name of the node to watch.
41 output_slot: (`int`) output slot index of the tensor from the watched node.
53 watch.
59 watch = watch_opts.add()
[all …]
Ddebug_data.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Classes and functions to handle debug-dump data of TensorFlow Debugger."""
167 """Get tensor name given node name and output slot index.
170 node_name: Name of the node that outputs the tensor, as a string.
181 """Get the string representation of a debug watch on a tensor.
184 node_name: Name of the node by which the watched tensor is produced, as a
187 debug_op: Name of the debug op that is used to watch the tensor, as a
191 A string representing the debug watch on the tensor (i.e., the "watch
275 This type does not hold the generally space-expensive tensor value (numpy
304 base = path_components[-1]
[all …]
Ddebug_utils_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
24 # Import resource_variable_ops for the variables-to-tensor implicit conversion.
25 from tensorflow.python.ops import resource_variable_ops # pylint: disable=unused-import
37 cls._a_init_val = np.array([[5.0, 3.0], [-1.0, 0.0]])
38 cls._b_init_val = np.array([[2.0], [-1.0]])
39 cls._c_val = np.array([[-4.0], [np.nan]])
59 # - Two variables (a, b), each with four nodes (Variable, init, Assign,
61 # - One constant (c).
62 # - One add operation and one matmul operation.
63 # - One wildcard node name ("*") that covers nodes created internally
[all …]
Dsession_debug_testlib.py7 # http://www.apache.org/licenses/LICENSE-2.0
47 import tensorflow.python.ops.tensor_array_grad # pylint: disable=unused-import
126 global_step=-1,
171 u_init_val = np.array([[5.0, 3.0], [-1.0, 0.0]])
172 v_init_val = np.array([[2.0], [-1.0]])
174 # Use node names with overlapping namespace (i.e., parent directory) to
175 # test concurrent, non-racing directory creation.
193 # Add debug tensor watch for u.
196 # Add debug tensor watch for v.
243 for node_def in partition_graph.node:
[all …]
Dgrpc_debug_server.py7 # http://www.apache.org/licenses/LICENSE-2.0
16 # pylint: disable=g-bad-import-order
47 """Per-stream handler of EventListener gRPC streams."""
61 an `EventReply` proto construct with the default no-arg constructor will
81 an `EventReply` proto construct with the default no-arg constructor will
128 bi-directional, but currently only the client-to-server stream (i.e., the
161 # Non-tensor-value Event.
163 # GraphDef-carrying Event.
172 # Core metadata-carrying Event.
181 """Dequeue and process all the queued debug-op state change protos.
[all …]
/external/pigweed/pw_ide/ts/pigweed-vscode/
Dpackage.json3 "name": "pigweed-vscode",
12 "license": "Apache-2.0",
31 "command": "pigweed.file-bug",
35 "command": "pigweed.check-extensions",
39 "command": "pigweed.launch-terminal",
43 "command": "pigweed.bootstrap-terminal",
69 "webpack": "webpack --mode development",
70 "webpack-dev": "webpack --mode development --watch",
71 "package": "webpack --mode production --devtool hidden-source-map",
72 "compile": "tsc -p ./",
[all …]
/external/pigweed/
Dpackage.json4 "description": "An open source collection of embedded-targeted libraries",
6 "license": "Apache-2.0",
18 … "log-viewer-setup": "cd pw_web/log-viewer && npm install --quiet --no-progress --loglevel=error",
19 "prebuild": "rimraf dist && npm run build-protos",
20 "build-protos": "ts-node -P tsconfig.json ts/buildprotos.ts",
22 "dev": "rollup -c -w",
23 "rollup": "rollup -c && npm run postbuild",
25 "start": "tsc-watch --onSuccess \"rollup -c\"",
28 "test": "npm run build && jest --silent",
32 "@grpc/grpc-js": "^1.3.7",
[all …]
/external/angle/third_party/spirv-tools/src/tools/sva/
Dpackage.json4 "description": "SPIR-V Assembler",
7 "license": "Apache-2.0",
10 "sva": "node -r esm bin/sva.js",
11 "lint": "eslint --fix --ext .js .",
12 "test": "mocha --require esm src/**/*_test.js",
13 "watch": "mocha --require esm --watch --watch-extension js \"src/**/*_test.js\"", string
15 "bundle": "rollup -c"
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dpackage.json4 "description": "SPIR-V Assembler",
7 "license": "Apache-2.0",
10 "sva": "node -r esm bin/sva.js",
11 "lint": "eslint --fix --ext .js .",
12 "test": "mocha --require esm src/**/*_test.js",
13 "watch": "mocha --require esm --watch --watch-extension js \"src/**/*_test.js\"", string
15 "bundle": "rollup -c"
/external/deqp-deps/SPIRV-Tools/tools/sva/
Dpackage.json4 "description": "SPIR-V Assembler",
7 "license": "Apache-2.0",
10 "sva": "node -r esm bin/sva.js",
11 "lint": "eslint --fix --ext .js .",
12 "test": "mocha --require esm src/**/*_test.js",
13 "watch": "mocha --require esm --watch --watch-extension js \"src/**/*_test.js\"", string
15 "bundle": "rollup -c"
/external/grpc-grpc/test/core/xds/
Dxds_client_test.cc8 // http://www.apache.org/licenses/LICENSE-2.0
18 // - tests for DumpClientConfigBinary()
19 // - tests for load-reporting APIs? (or maybe move those out of XdsClient?)
90 class FakeNode : public Node {
178 node_->set_id(std::move(id)); in set_node_id()
191 bootstrap->servers_ = std::move(servers_); in Build()
192 bootstrap->node_ = std::move(node_); in Build()
193 bootstrap->authorities_ = std::move(authorities_); in Build()
214 const Node* node() const override { in node() function in grpc_core::testing::__anon1242175e0111::XdsClientTest::FakeXdsBootstrap
220 return &it->second; in LookupAuthority()
[all …]
/external/tensorflow/tensorflow/core/protobuf/
Ddebug.proto11 // Option for watching a node in TensorFlow Debugger (tfdbg).
13 // Name of the node to watch.
18 // Output slot to watch.
19 // The semantics of output_slot == -1 is that all outputs of the node
33 // - file:///foo/tfdbg_dump: Writes out Event content to file
36 // - grpc://localhost:11011: Sends an RPC request to an EventListener
38 // - memcbk:///event_key: Routes tensors to clients using the
62 // Caller-specified global step count.
87 // Line-by-line content of the source code file.
/external/perfetto/infra/perfetto.dev/
Dbuild.js7 // http://www.apache.org/licenses/LICENSE-2.0
24 const fswatch = require('node-watch'); // Like fs.watch(), but works on Linux.
30 watch: false, property
39 parser.add_argument('--out', {help: 'Output directory'});
40 parser.add_argument('--watch', '-w', {action: 'store_true'});
41 parser.add_argument('--serve', '-s', {action: 'store_true'});
42 parser.add_argument('--verbose', '-v', {action: 'store_true'});
46 cfg.watch = !!args.watch;
51 const installBuildDeps = pjoin(ROOT_DIR, 'tools/install-build-deps');
53 // --filter=nodejs --filter=pnpm --filter=gn --filter=ninja is to match what
[all …]
/external/googleapis/google/cloud/runtimeconfig/v1beta1/
Dresources.proto7 // http://www.apache.org/licenses/LICENSE-2.0
68 // non-slash character. Multiple slashes are coalesced into single slash
86 // `text: "my text value"`. The string must be valid UTF-8.
94 // indicates the outcome of the `variables().watch` call and is visible
134 // distributed system where each node writes to a Variable resource indidicating
135 // the node's readiness as part of the startup process.
146 // Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)
198 // used during a `variables().watch` call to distinguish the state of the
204 // The variable was updated, while `variables().watch` was executing.
207 // The variable was deleted, while `variables().watch` was executing.
/external/perfetto/ui/
Dbuild.js7 // http://www.apache.org/licenses/LICENSE-2.0
19 // - The build process for the whole UI and the chrome extension.
20 // - The HTTP dev-server with live-reload capabilities.
21 // The reason why this is a hand-rolled script rather than a conventional build
25 // edit-one-line -> reload html cycles) is to run both the TypeScript compiler
26 // and the rollup bundler in --watch mode. Any other attempt, leads to O(10s)
27 // incremental-build times.
28 // This script allows mixing build tools that support --watch mode (tsc and
29 // rollup) and auto-triggering-on-file-change rules via node-watch.
31 // just runs all the build tasks serially. It doesn't to do any mtime-based
[all …]
Dpackage.json2 "name": "perfetto-webui",
8 "license": "Apache-2.0",
15 "@codemirror/theme-one-dark": "^6.1.2",
20 "@types/color-convert": "^1.9.0",
23 "@types/node": "^14.18.51",
27 "@types/w3c-web-usb": "^1.0.6",
30 "color-convert": "^2.0.1",
32 "devtools-protocol": "0.0.1159816",
37 "jsbn-rsa": "^1.0.4",
39 "noice-json-rpc": "^1.2.0",
[all …]
/external/apache-xml/test/java/src/org/apache/qetest/xalanj2/
DDTMDumpTest.java10 * http://www.apache.org/licenses/LICENSE-2.0
44 import org.w3c.dom.Node;
47 //-------------------------------------------------------------------------
74 * Initialize this test - create output dir, outNames.
157 * it together in the same class. Watch out for thread safety.
163 Node contextNode = context.getContextNode(); in dumpDTM()
173 * it together in the same class. Watch out for thread safety.
183 Node first = ns.nextNode(); in dumpDTM()
191 Node first = ns.nextNode(); in dumpDTM()
204 * Convenience method to print out usage information - update if needed.
[all …]
/external/tensorflow/tensorflow/python/eager/
Dfunction_gradients_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
43 lambda x: -math_ops.sin(x),
44 lambda x: -math_ops.cos(x),
82 node = f()
83 grads, = gradients_impl.gradients(node, v)
106 tape.watch(x)
116 for _ in range(order - 1):
132 tape.watch(primal)
185 tape.watch(start)
215 t.watch(x)
[all …]
/external/grpc-grpc/src/core/lib/surface/
Dlegacy_channel.cc9 // http://www.apache.org/licenses/LICENSE-2.0
93 *(*r)->stats_plugin_group = in Create()
100 *(*r)->stats_plugin_group = in Create()
118 ->memory_quota() in LegacyChannel()
119 ->CreateMemoryOwner()) { in LegacyChannel()
137 RefCountedPtr<channelz::ChannelNode> node; in LegacyChannel() local
139 node = channelz_node()->RefAsSubclass<channelz::ChannelNode>(); in LegacyChannel()
141 *channel_stack_->on_destroy = [node = std::move(node)]() { in LegacyChannel()
142 if (node != nullptr) { in LegacyChannel()
143 node->AddTraceEvent(channelz::ChannelTrace::Severity::Info, in LegacyChannel()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/control_flow/
Dwhile_v2_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
58 def random_gamma(shape): # pylint: disable=invalid-name
62 def random_gamma_with_alpha_beta(shape): # pylint: disable=invalid-name
67 def random_poisson_v2(shape): # pylint: disable=invalid-name
71 def random_poisson_v2_with_lam(shape): # pylint: disable=invalid-name
75 def fill(shape): # pylint: disable=invalid-name
107 n = constant_op.constant(1., name="const-n")
111 def body_fn(v): # pylint: disable=invalid-name
114 def inner_fn(v): # pylint: disable=invalid-name
116 … grad_fn(dy, variables=None): # pylint: disable=invalid-name, unused-argument, redefined-outer-na…
[all …]
/external/autotest/server/site_tests/audio_AudioNodeSwitch/
Daudio_AudioNodeSwitch.py3 # Use of this source code is governed by a BSD-style license that can be
20 URL = 'https://www.youtube.com/watch?v=aqz-KE-bpKQ'
50 def set_active_volume_to_node_volume(self, node): argument
51 """Sets Chrome volume to the specified volume of node.
53 @param node: One of node type in self._VOLUMES.
56 self.facade.set_chrome_active_volume(self._VOLUMES[node])
59 def check_active_node_volume(self, node): argument
60 """Checks the active node type and checks if its volume is as expected.
62 @param node: The expected node.
64 @raises: TestFail if node volume is not as expected.
[all …]
/external/tensorflow/tensorflow/python/debug/wrappers/
Dframework.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 according to externally-specified debug URLs.
23 b) Release control to an external (i.e., non-Session) object before and after
49 invoke run() method of wrapper session with the same syntax as a non-wrapped
53 Below, A1 - A2 is the lifetime of a wrapper run() call if the action is
64 If the action is DEBUG_RUN, a debugged (tensor-watched) run will ensue,
68 If the action is NON_DEBUG_RUN, a non-debug (normal) run will ensue.
93 TODO(cais): Implemented the instruction loop in B1 - B3.
130 """Request to an on-session-init callback.
132 This callback is invoked during the __init__ call to a debug-wrapper session.
[all …]

1234567891011