| /external/pytorch/docs/source/ |
| D | torch.compiler_nn_module.rst | 11 NNModule Hooks Support 13 Previously, `torch.compile` had no support for hooks on nn.Modules, and if hooks were registered 15 use nn.Module hooks at all, or only use them for debug workflows, but there are valid use cases 16 for composing nn.Module hooks with `torch.compile`. 18 Hooks that are orchestrated via nn.Module.__call__ implementation include `_forward_pre_hooks`, 19 …ward_hooks`, `_backward_pre_hooks`, and `_backward_hooks`, and will be referred to as 'call hooks'. 20 These hooks are partially supported by `torch.compile` with limitations described below. 22 Another category of hooks includes `_state_dict_hooks` and its `pre` and `load_` variants, and are … 25 `nn.Module.__call__` Hooks Usage and limitations 28 and run forward/pre-forward hooks. If you install hooks before calling `torch.compile` and then do… [all …]
|
| D | ddp_comm_hooks.rst | 1 DDP Communication Hooks 7 A few built-in communication hooks are provided, 8 and users can easily apply any of these hooks to optimize communication. 37 Default Communication Hooks 40 Default communication hooks are simple **stateless** hooks, so the input state 50 which can be combined with other communication hooks. 71 PowerSGD Hooks 80 …PowerSGD hooks may conflict with `Apex automatic mixed precision package <https://github.com/NVIDI… 87 Debugging Communication Hooks 90 As the name implies, debugging communication hooks are **only** used for debugging and performance … [all …]
|
| /external/sdv/vsomeip/third_party/boost/intrusive/test/ |
| D | itestvalue.hpp | 33 template<class Hooks> 36 , Hooks::base_hook_type 37 , Hooks::auto_base_hook_type 39 typename Hooks::member_hook_type node_; 40 typename Hooks::auto_member_hook_type auto_node_; 41 typename Hooks::nonhook_node_member_type nhn_member_; 60 Hooks::base_hook_type::operator=(static_cast<const typename Hooks::base_hook_type&>(src)); in operator =() 61 …Hooks::auto_base_hook_type::operator=(static_cast<const typename Hooks::auto_base_hook_type&>(src)… in operator =() 71 Hooks::base_hook_type::swap_nodes(static_cast<typename Hooks::base_hook_type&>(other)); in swap_nodes() 72 … Hooks::auto_base_hook_type::swap_nodes(static_cast<typename Hooks::auto_base_hook_type&>(other)); in swap_nodes() [all …]
|
| /external/freetype/src/svg/ |
| D | ftsvg.c | 65 render->hooks.free_svg( &render->state ); in ft_svg_done() 77 SVG_RendererHooks hooks = svg_renderer->hooks; in ft_svg_preset_slot() local 82 FT_TRACE1(( "Hooks are NOT set. Can't render OT-SVG glyphs\n" )); in ft_svg_preset_slot() 90 hooks.init_svg( &svg_renderer->state ); in ft_svg_preset_slot() 95 return hooks.preset_slot( slot, cache, &svg_renderer->state ); in ft_svg_preset_slot() 113 SVG_RendererHooks hooks = svg_renderer->hooks; in ft_svg_render() local 124 FT_TRACE1(( "Hooks are NOT set. Can't render OT-SVG glyphs\n" )); in ft_svg_render() 131 error = hooks.init_svg( &svg_renderer->state ); in ft_svg_render() 144 error = hooks.render_svg( slot, &svg_renderer->state ); in ft_svg_render() 170 if ( !ft_strcmp( property_name, "svg-hooks" ) ) in ft_svg_property_set() [all …]
|
| /external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
| D | TestSSLEnginePair.java | 49 return create((Hooks) null); in create() 56 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() argument 57 return create(TestSSLContext.create(), hooks); in create() 60 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() argument 61 return create(c, hooks, null); in create() 64 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() argument 66 SSLEngine[] engines = connect(c, hooks, finished); in create() 70 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { in connect() argument 71 return connect(c, hooks, null); in connect() 79 Hooks hooks, in connect() argument [all …]
|
| /external/jazzer-api/src/main/java/com/code_intelligence/jazzer/instrumentor/ |
| D | Hooks.kt | 27 data class Hooks( in <lambda>() dataClass 28 val hooks: List<Hook>, in <lambda>() constant in com.code_intelligence.jazzer.instrumentor.Hooks 51 …n loadHooks(excludeHookClassNames: List<String>, vararg hookClassNames: Set<String>): List<Hooks> { in <lambda>() 67 fun load(hookClassNames: Set<String>): Hooks { in <lambda>() 69 val hooks = hooksWithHookClasses.map { it.first } in <lambda>() constant 72 hooks.flatMap(Hook::additionalClassesToHook), in <lambda>() 75 return Hooks(hooks, hookClasses, additionalHookClassNameGlobber) in <lambda>() 80 // We let the static initializers of hook classes execute so that hooks can run in <lambda>() 86 Log.info("Loaded ${it.size} hooks from $hookClassName") in <lambda>() 91 Log.warn("Failed to load hooks from $hookClassName", e) in <lambda>() [all …]
|
| /external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
| D | TestSSLEnginePair.java | 51 return create((Hooks) null); in create() 58 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() argument 59 return create(TestSSLContext.create(), hooks); in create() 62 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() argument 63 return create(c, hooks, null); in create() 66 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() argument 68 SSLEngine[] engines = connect(c, hooks, finished); in create() 72 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { in connect() argument 73 return connect(c, hooks, null); in connect() 81 Hooks hooks, in connect() argument [all …]
|
| /external/coreboot/util/gitconfig/ |
| D | gitconfig.sh | 5 # In the hooks, use the same `make` tool as used when running `make gitconfig`, 6 # e.g. `remake gitconfig` will set `remake` to be run by the hooks. 14 coreboot_hooks=$(git rev-parse --git-path hooks) 25 # Now set up the hooks for 3rdparty/ 27 hooks=$(git -C "$(git config --file .gitmodules --get \ 28 submodule.${submodule}.path)" rev-parse --git-path hooks) 29 if [ -d "${hooks}" ]; then 30 if [ util/gitconfig/commit-msg -nt "${hooks}/commit-msg" ] \ 31 || [ ! -x "${hooks}/commit-msg" ] 34 > "${hooks}/commit-msg" [all …]
|
| /external/jemalloc_new/test/include/test/ |
| D | extent_hooks.h | 2 * Boilerplate code used for testing extent hooks via interception and 29 static extent_hooks_t hooks = { variable 41 /* Control whether hook functions pass calls through to default hooks. */ 89 assert_ptr_eq(extent_hooks, &hooks, in extent_alloc_hook() 90 "extent_hooks should be same as pointer used to set hooks"); in extent_alloc_hook() 111 assert_ptr_eq(extent_hooks, &hooks, in extent_dalloc_hook() 112 "extent_hooks should be same as pointer used to set hooks"); in extent_dalloc_hook() 130 assert_ptr_eq(extent_hooks, &hooks, in extent_destroy_hook() 131 "extent_hooks should be same as pointer used to set hooks"); in extent_destroy_hook() 150 assert_ptr_eq(extent_hooks, &hooks, in extent_commit_hook() [all …]
|
| /external/trusty/lk/lib/io/ |
| D | io.c | 33 if (!io->hooks->write) in io_write() 36 return io->hooks->write(io, buf, len); in io_write() 43 if (io->hooks->write_commit) in io_write_commit() 44 io->hooks->write_commit(io); in io_write_commit() 51 if (io->hooks->lock) in io_lock() 52 io->hooks->lock(io); in io_lock() 59 if (io->hooks->unlock) in io_unlock() 60 io->hooks->unlock(io); in io_unlock() 67 if (!io->hooks->read) in io_read() 70 return io->hooks->read(io, buf, len); in io_read()
|
| /external/openthread/third_party/mbedtls/repo/tests/git-scripts/ |
| D | README.md | 1 README for git hooks script 4 The git hooks are located in `<Mbed TLS root>/.git/hooks`, and as such are not under version control 7 …d TLS git hooks are located in `<Mbed TLS root>/tests/git-scripts` directory, and one must create … 11 Execute the following command to create a link on Linux from the Mbed TLS `.git/hooks` directory: 14 …ote: Currently the Mbed TLS git hooks work only on a GNU platform. If using a non-GNU platform, do…
|
| /external/mbedtls/tests/git-scripts/ |
| D | README.md | 1 README for git hooks script 4 The git hooks are located in `<Mbed TLS root>/.git/hooks`, and as such are not under version control 7 …d TLS git hooks are located in `<Mbed TLS root>/tests/git-scripts` directory, and one must create … 11 Execute the following command to create a link on Linux from the Mbed TLS `.git/hooks` directory: 14 …ote: Currently the Mbed TLS git hooks work only on a GNU platform. If using a non-GNU platform, do…
|
| /external/python/pyfakefs/ |
| D | .pre-commit-config.yaml | 7 hooks: 15 hooks: 21 hooks: 27 hooks: 30 - repo: https://github.com/pre-commit/pre-commit-hooks 32 hooks: 42 hooks: 50 hooks:
|
| /external/bazelbuild-rules_python/ |
| D | .pre-commit-config.yaml | 17 # See https://pre-commit.com/hooks.html for more hooks 19 - repo: https://github.com/pre-commit/pre-commit-hooks 21 hooks: 25 hooks: 34 hooks: 42 hooks: 45 hooks:
|
| /external/yapf/ |
| D | .pre-commit-config.yaml | 7 hooks: 11 hooks: 20 hooks: 22 - repo: https://github.com/pre-commit/pre-commit-hooks 24 hooks: 34 hooks: 35 - id: check-hooks-apply
|
| /external/tensorflow/tensorflow/python/training/ |
| D | session_run_hook.py | 28 gets the outputs it requested. Hooks are allowed to add ops to the graph in 31 There are a few pre-defined hooks: 38 For more specific needs, you can create custom hooks: 63 To understand how hooks interact with calls to `MonitoredSession.run()`, 65 with MonitoredTrainingSession(hooks=your_hooks, ...) as sess: 70 call hooks.begin() 72 call hooks.after_create_session() 74 call hooks.before_run() 79 call hooks.after_run() 80 call hooks.end() [all …]
|
| D | monitored_session.py | 16 """A wrapper of Session API which runs hooks.""" 319 hooks=None, argument 332 if hooks: 333 all_hooks.extend(hooks) 423 hooks=all_hooks, 433 hooks=None, argument 448 creates hooks related to checkpoint and summary saving. For workers, this 459 on replacing `Session.run` calls. In Keras, session hooks can be replaced by 475 hooks: Optional list of `SessionRunHook` objects. 476 chief_only_hooks: list of `SessionRunHook` objects. Activate these hooks if [all …]
|
| /external/flashrom/util/git-hooks/ |
| D | install.sh | 4 { echo "Not under git control. Cannot install git hooks." >&2 ; exit 0 ; } 9 src=util/git-hooks/ # relative to root 10 hooks=$(cd "${src}" && git ls-files -c | grep -Ev 'install.sh|wrapper.sh') 14 dst=".git/hooks/" 17 dst=$(git rev-parse --git-path hooks/) 21 for h in $hooks; do 24 # preserve custom hooks if any
|
| /external/pytorch/torch/_dynamo/ |
| D | convert_frame.py | 86 from .hooks import Hooks 438 hooks: Hooks, argument 535 hooks, 557 from torch.utils.hooks import RemovableHandle 568 """Register hooks for bytecode generated by Dynamo. The hook can do some 586 hooks: Hooks, argument 661 hooks: Hooks, argument 666 return _compile_inner(code, one_graph, hooks, transform) 673 hooks: Hooks, argument 798 hooks.guard_fail_fn if hooks else None, [all …]
|
| /external/python/markupsafe/ |
| D | .pre-commit-config.yaml | 4 hooks: 9 hooks: 14 hooks: 18 hooks: 21 - repo: https://github.com/pre-commit/pre-commit-hooks 23 hooks:
|
| /external/python/jinja/ |
| D | .pre-commit-config.yaml | 4 hooks: 9 hooks: 14 hooks: 18 hooks: 21 - repo: https://github.com/pre-commit/pre-commit-hooks 23 hooks:
|
| /external/python/cpython3/ |
| D | .pre-commit-config.yaml | 4 hooks: 24 hooks: 30 - repo: https://github.com/pre-commit/pre-commit-hooks 32 hooks: 46 hooks: 52 hooks: 53 - id: check-hooks-apply
|
| /external/python/python-api-core/ |
| D | .pre-commit-config.yaml | 16 # See https://pre-commit.com/hooks.html for more hooks 18 - repo: https://github.com/pre-commit/pre-commit-hooks 20 hooks: 26 hooks: 30 hooks:
|
| /external/jazzer-api/src/main/java/com/code_intelligence/jazzer/agent/ |
| D | Agent.kt | 21 import com.code_intelligence.jazzer.instrumentor.Hooks in <lambda>() 50 …check(allCustomHookNames.isNotEmpty()) { "No hooks registered; expected at least the built-in hook… in installInternal() 54 …Log.info("Not using the following disabled hooks: ${disabledCustomHooksToPrint.joinToString(", ")}… in installInternal() 112 // If we don't append the JARs containing the custom hooks to the bootstrap class loader, in installInternal() 113 // third-party hooks not contained in the agent JAR will not be able to instrument Java standard in installInternal() 117 Hooks.appendHooksToBootstrapClassLoaderSearch(instrumentation, customHookNames.toSet()) in installInternal() 118 …val (includedHooks, customHooks) = Hooks.loadHooks(additionalClassesExcludes, includedHookNames.to… in installInternal() 125 includedHooks.hooks, in installInternal() 126 customHooks.hooks, in installInternal() 132 // These classes are e.g. dependencies of the RuntimeInstrumentor or hooks and thus were loaded in installInternal()
|
| /external/pytorch/aten/src/ATen/ |
| D | SavedTensorHooks.h | 22 // disabled_error_message is nullopt IFF Saved Tensor hooks is enabled 27 // See NOTE: [Deferring tensor pack/unpack hooks until runtime] 47 // hooks, especially if their feature does not work with it. If they are 50 // - calling disable(message) with a non-zero stack (hooks) size 56 // NOTE: [Deferring tensor pack/unpack hooks until runtime] 57 // To preserve eager semantics of pack/unpack hooks firing only once per saved 61 // To do so, we disable these hooks during tracing. See
|