Home
last modified time | relevance | path

Searched full:scope (Results 1 – 25 of 14588) sorted by relevance

12345678910>>...584

/external/trusty/arm-trusted-firmware/
Dchangelog.yaml73 # Sub-sections have an optional associated commit message "scope":
79scope enforcement. These will not pass CI checks when used, but they will be used to generate the
90 scope: amu
93 scope: brbe
96 scope: bti
99 scope: cca
102 scope: ccidx
105 scope: tcr2
108 scope: cpufeat
111 scope: gcs
[all …]
/external/tensorflow/tensorflow/cc/gradients/
Dmath_grad.cc46 Output ConjugateHelper(const Scope& scope, const Output& out) { in ConjugateHelper() argument
49 return Conj(scope, out); in ConjugateHelper()
57 Status AbsGrad(const Scope& scope, const Operation& op, in AbsGrad() argument
61 grad_outputs->push_back(Mul(scope, grad_inputs[0], Sign(scope, op.input(0)))); in AbsGrad()
62 return scope.status(); in AbsGrad()
66 Status NegGrad(const Scope& scope, const Operation& op, in NegGrad() argument
70 grad_outputs->push_back(Neg(scope, grad_inputs[0])); in NegGrad()
71 return scope.status(); in NegGrad()
75 Status InvGrad(const Scope& scope, const Operation& op, in InvGrad() argument
80 internal::ReciprocalGrad(scope, op.output(0), grad_inputs[0])); in InvGrad()
[all …]
Darray_grad.cc41 Status PackGrad(const Scope& scope, const Operation& op, in PackGrad() argument
50 auto grad_op = Unstack(scope, grad_inputs[0], N, Unstack::Axis(axis)); in PackGrad()
54 return scope.status(); in PackGrad()
58 Status UnpackGrad(const Scope& scope, const Operation& op, in UnpackGrad() argument
63 grad_outputs->push_back(Stack(scope, grad_inputs, Stack::Axis(axis))); in UnpackGrad()
64 return scope.status(); in UnpackGrad()
68 Status IdentityGrad(const Scope& scope, const Operation& op, in IdentityGrad() argument
71 grad_outputs->push_back(Identity(scope, grad_inputs[0])); in IdentityGrad()
72 return scope.status(); in IdentityGrad()
76 Status RefIdentityGrad(const Scope& scope, const Operation& op, in RefIdentityGrad() argument
[all …]
Dnn_grad.cc27 Status SoftmaxGrad(const Scope& scope, const Operation& op, in SoftmaxGrad() argument
41 auto dyy = Mul(scope, grad_inputs[0], y); in SoftmaxGrad()
42 auto sum = Sum(scope, dyy, /*axis=*/-1, Sum::KeepDims(true)); in SoftmaxGrad()
43 auto sub = Sub(scope, grad_inputs[0], sum); in SoftmaxGrad()
44 auto dx = Mul(scope, sub, y); in SoftmaxGrad()
46 return scope.status(); in SoftmaxGrad()
50 bool IsZero(const Scope& scope, const Output& grad) { in IsZero() argument
71 Output BroadcastMul(const Scope& scope, const Output& vec, const Output& mat) { in BroadcastMul() argument
72 auto reshaped = ExpandDims(scope, vec, -1); in BroadcastMul()
73 return Multiply(scope, reshaped, mat); in BroadcastMul()
[all …]
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/
DConstant.java33 import org.tensorflow.op.Scope;
43 * @param scope is a scope used to add the underlying operation.
47 public static Constant<Integer> create(Scope scope, int data) { in create() argument
48 return create(scope, data, Integer.class); in create()
54 * @param scope is a scope used to add the underlying operation.
58 public static Constant<Integer> create(Scope scope, int[] data) { in create() argument
59 return create(scope, data, Integer.class); in create()
65 * @param scope is a scope used to add the underlying operation.
69 public static Constant<Integer> create(Scope scope, int[][] data) { in create() argument
70 return create(scope, data, Integer.class); in create()
[all …]
/external/clang/include/clang/Sema/
DScope.h1 //===--- Scope.h - Scope interface ------------------------------*- C++ -*-===//
10 // This file defines the Scope interface.
35 /// Scope - A scope is a transient data structure that is used while parsing the
39 class Scope {
42 /// scope, which defines the sorts of things the scope contains.
44 /// \brief This indicates that the scope corresponds to a function, which
56 /// \brief This is a scope that can contain a declaration. Some scopes
60 /// \brief The controlling scope in a if/switch/while/for statement.
63 /// \brief The scope of a struct/union/class definition.
66 /// \brief This is a scope that corresponds to a block/closure object.
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow_test.cc108 Scope scope = Scope::NewRootScope().ExitOnError(); in BuildCondGraph() local
110 auto x = ops::Placeholder(scope.WithOpName("x"), DT_INT32); in BuildCondGraph()
111 auto y = ops::Placeholder(scope.WithOpName("y"), DT_INT32); in BuildCondGraph()
112 auto less = ops::Less(scope.WithOpName("cond/Less"), y, x); in BuildCondGraph()
113 auto switch_1 = ops::Switch(scope.WithOpName("cond/Switch"), less, less); in BuildCondGraph()
116 ops::Identity(scope.WithOpName("cond/Identity"), switch_1.output_true); in BuildCondGraph()
118 scope.WithOpName("cond").WithControlDependencies(identity_t), 17); in BuildCondGraph()
119 auto switch_2 = ops::Switch(scope.WithOpName("cond/Switch"), y, less); in BuildCondGraph()
120 auto mul = ops::Multiply(scope.WithOpName("cond/Mul"), switch_2.output_true, in BuildCondGraph()
124 ops::Identity(scope.WithOpName("cond/Identity"), switch_1.output_false); in BuildCondGraph()
[all …]
/external/tensorflow/tensorflow/cc/framework/
Dscope.h41 /// A `Scope` object represents a set of related TensorFlow ops that have the
44 /// A Scope object is a container for TensorFlow Op properties. Op constructors
45 /// get a Scope object as a mandatory first argument and the constructed op
51 /// Scope root = Scope::NewRootScope();
58 /// Scope hierarchy:
60 /// The Scope class provides various With<> functions that create a new scope.
61 /// The new scope typically has one property changed while other properties are
62 /// inherited from the parent scope.
64 /// created within the scope, and WithOpName() changes the suffix which
69 /// Scope root = Scope::NewRootScope();
[all …]
Dgradient_checker_test.cc42 Scope scope = Scope::NewRootScope(); in TEST() local
44 auto x = Placeholder(scope, DT_FLOAT, Placeholder::Shape(shape)); in TEST()
45 auto y = Square(scope, x); in TEST()
48 scope, {x}, {shape}, {y}, {shape}, &max_error))); in TEST()
53 Scope scope = Scope::NewRootScope(); in TEST() local
55 auto x = Placeholder(scope, DT_DOUBLE, Placeholder::Shape(shape)); in TEST()
56 auto y = Square(scope, x); in TEST()
59 scope, {x}, {shape}, {y}, {shape}, &max_error))); in TEST()
64 Scope scope = Scope::NewRootScope(); in TEST() local
66 auto x = Placeholder(scope, DT_COMPLEX64, Placeholder::Shape(shape)); in TEST()
[all …]
/external/python/cpython2/Lib/compiler/
Dsymbols.py14 class Scope: class
88 """Return scope of name.
90 The scope of a name could be LOCAL, GLOBAL, FREE, or CELL.
123 """Force name to be global in scope.
127 variable. Now that all its enclosing scope have been
143 """Process list of free vars from nested scope.
147 the nested scope should treat them as globals.
172 class ModuleScope(Scope):
173 __super_init = Scope.__init__
178 class FunctionScope(Scope):
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dactivity_test.py38 def assertMissing(self, qn, scope): argument
39 self.assertNotIn(qn, scope.read)
40 self.assertNotIn(qn, scope.modified)
42 def assertReadOnly(self, qn, scope): argument
43 self.assertIn(qn, scope.read)
44 self.assertNotIn(qn, scope.modified)
46 def assertWriteOnly(self, qn, scope): argument
47 self.assertNotIn(qn, scope.read)
48 self.assertIn(qn, scope.modified)
50 def assertReadWrite(self, qn, scope): argument
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dshape-handler.js15 (function(scope) { argument
17 var consumeLengthOrPercent = scope.consumeParenthesised.bind(null, scope.parseLengthOrPercent);
18 …var consumeLengthOrPercentPair = scope.consumeRepeated.bind(undefined, consumeLengthOrPercent, /^/…
20 var mergeSizePair = scope.mergeNestedRepeated.bind(undefined, scope.mergeDimensions, ' ');
21 var mergeSizePairList = scope.mergeNestedRepeated.bind(undefined, mergeSizePair, ',');
24 var circle = scope.consumeToken(/^circle/, input);
26 return ['circle'].concat(scope.consumeList([
27 scope.ignore(scope.consumeToken.bind(undefined, /^\(/)),
29 scope.ignore(scope.consumeToken.bind(undefined, /^at/)),
30 scope.consumePosition,
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass_test.cc39 Scope scope = Scope::NewRootScope().ExitOnError(); in MakeOuterGraph() local
40 TF_EXPECT_OK(scope.graph()->AddFunctionLibrary(flib_def.ToProto())); in MakeOuterGraph()
42 auto a = ops::Placeholder(scope.WithOpName("A"), DT_INT32); in MakeOuterGraph()
43 auto b = ops::Placeholder(scope.WithOpName("B"), DT_FLOAT); in MakeOuterGraph()
44 auto c = ops::Placeholder(scope.WithOpName("C"), DT_INT32); in MakeOuterGraph()
45 auto d = ops::Placeholder(scope.WithOpName("D"), DT_FLOAT); in MakeOuterGraph()
46 auto u = ops::Placeholder(scope.WithOpName("U"), DT_RESOURCE); in MakeOuterGraph()
47 auto v = ops::Placeholder(scope.WithOpName("V"), DT_RESOURCE); in MakeOuterGraph()
48 auto w = ops::Placeholder(scope.WithOpName("W"), DT_RESOURCE); in MakeOuterGraph()
65 Node* launch = scope.graph()->AddNode(def, &status); in MakeOuterGraph()
[all …]
/external/google-cloud-java/gapic-libraries-bom/
Dpom.xml29 <scope>import</scope>
36 <scope>import</scope>
43 <scope>import</scope>
50 <scope>import</scope>
57 <scope>import</scope>
64 <scope>import</scope>
71 <scope>import</scope>
78 <scope>import</scope>
85 <scope>import</scope>
92 <scope>import</scope>
[all …]
/external/rust/crates/rayon-core/src/scope/
Dmod.rs1 //! Methods for custom fork-join scopes, created by the [`scope()`]
4 //! [`scope()`]: fn.scope.html
24 /// Represents a fork-join scope which can be used to spawn any number of tasks.
25 /// See [`scope()`] for more information.
27 ///[`scope()`]: fn.scope.html
28 pub struct Scope<'scope> { struct
29 base: ScopeBase<'scope>,
32 /// Represents a fork-join scope which can be used to spawn any number of tasks.
37 pub struct ScopeFifo<'scope> {
38 base: ScopeBase<'scope>,
[all …]
/external/ot-br-posix/src/web/web-service/frontend/res/js/
Dapp.js53 function AppCtrl($scope, $http, $mdDialog, $interval, sharedProperties) { argument
54 $scope.menu = [{
92 $scope.thread = {
103 $scope.setting = {
108 $scope.headerTitle = 'Home';
109 $scope.status = [];
111 $scope.isLoading = false;
113 $scope.showScanAlert = function(ev) {
125 $scope.showPanels = function(index) {
126 $scope.headerTitle = $scope.menu[index].title;
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll60 …: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 74, file: !1, scope: !5, type: !6, var…
69 !13 = !DILocalVariable(name: "argc", line: 74, arg: 1, scope: !4, file: !5, type: !8)
70 !14 = !DILocalVariable(name: "argv", line: 74, arg: 2, scope: !4, file: !5, type: !9)
71 !15 = !DILocalVariable(name: "niter", line: 76, scope: !4, file: !5, type: !8)
72 !16 = !DILocalVariable(name: "step", line: 76, scope: !4, file: !5, type: !8)
73 !17 = !DILocalVariable(name: "n3", line: 76, scope: !4, file: !5, type: !8)
74 !18 = !DILocalVariable(name: "nthreads", line: 77, scope: !4, file: !5, type: !8)
75 !19 = !DILocalVariable(name: "navg", line: 78, scope: !4, file: !5, type: !20)
77 !21 = !DILocalVariable(name: "mflops", line: 78, scope: !4, file: !5, type: !20)
78 !22 = !DILocalVariable(name: "tmax", line: 80, scope: !4, file: !5, type: !20)
[all …]
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp1 //===- LexicalScopes.cpp - Collecting lexical scope info ------------------===//
12 // This pass collects lexical scope information and maps machine instructions
39 /// initialize - Scan machine function and constuct lexical scope nest.
71 // If scope has not changed then skip this instruction. in extractLexicalScopes()
83 // current instruction scope does not match scope of first instruction in extractLexicalScopes()
107 /// findLexicalScope - Find lexical scope, either regular or inlined, for the
110 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local
111 if (!Scope) in findLexicalScope()
114 // The scope that we were created with could have an extra file - which in findLexicalScope()
116 Scope = Scope->getNonLexicalBlockFileScope(); in findLexicalScope()
[all …]
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/
DScope.java28 * <p>A {@code Scope} is a container for common properties applied to TensorFlow Ops. Normal user
29 * code initializes a {@code Scope} and provides it to Operation building classes. For example:
32 * Scope scope = new Scope(graph);
33 * Constant c = Constant.create(scope, 42);
36 * <p>An Operation building class acquires a Scope, and uses it to set properties on the underlying
42 * public static Constant create(Scope scope, ...) {
43 * scope.graph().opBuilder(
44 * "Const", scope.makeOpName("Const"))
52 * <p><b>Scope hierarchy:</b>
54 * <p>A {@code Scope} provides various {@code with()} methods that create a new scope. The new scope
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLexicalScopes.cpp1 //===- LexicalScopes.cpp - Collecting lexical scope info ------------------===//
11 // This pass collects lexical scope information and maps machine instructions
49 /// initialize - Scan machine function and constuct lexical scope nest.
52 // Don't attempt any lexical scope creation for a NoDebug compile unit. in initialize()
84 // If scope has not changed then skip this instruction. in extractLexicalScopes()
97 // current instruction scope does not match scope of first instruction in extractLexicalScopes()
121 /// findLexicalScope - Find lexical scope, either regular or inlined, for the
124 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local
125 if (!Scope) in findLexicalScope()
128 // The scope that we were created with could have an extra file - which in findLexicalScope()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
DLexicalScopes.cpp1 //===- LexicalScopes.cpp - Collecting lexical scope info ------------------===//
11 // This pass collects lexical scope information and maps machine instructions
50 /// initialize - Scan machine function and constuct lexical scope nest.
53 // Don't attempt any lexical scope creation for a NoDebug compile unit. in initialize()
90 // If scope has not changed then skip this instruction. in extractLexicalScopes()
98 // current instruction scope does not match scope of first instruction in extractLexicalScopes()
122 /// findLexicalScope - Find lexical scope, either regular or inlined, for the
125 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local
126 if (!Scope) in findLexicalScope()
129 // The scope that we were created with could have an extra file - which in findLexicalScope()
[all …]
/external/rust/crates/crossbeam-utils/tests/
Dthread.rs16 thread::scope(|scope| { in join()
17 let handle = scope.spawn(|_| { in join()
22 let panic_handle = scope.spawn(|_| { in join()
36 thread::scope(|scope| { in counter()
38 scope.spawn(|_| { in counter()
51 thread::scope(|scope| { in counter_builder()
53 scope in counter_builder()
73 let result = thread::scope(|scope| { in counter_panic()
74 scope.spawn(|_| { in counter_panic()
80 scope.spawn(|_| { in counter_panic()
[all …]
/external/aws-sdk-java-v2/test/stability-tests/
Dpom.xml38 <scope>import</scope>
48 <scope>test</scope>
54 <scope>test</scope>
60 <scope>test</scope>
66 <scope>test</scope>
72 <scope>test</scope>
78 <scope>test</scope>
84 <scope>test</scope>
89 <scope>test</scope>
95 <scope>test</scope>
[all …]
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_scopes.cpp24 bool IsValidScope(uint32_t scope) { in IsValidScope() argument
27 switch (static_cast<spv::Scope>(scope)) { in IsValidScope()
28 case spv::Scope::CrossDevice: in IsValidScope()
29 case spv::Scope::Device: in IsValidScope()
30 case spv::Scope::Workgroup: in IsValidScope()
31 case spv::Scope::Subgroup: in IsValidScope()
32 case spv::Scope::Invocation: in IsValidScope()
33 case spv::Scope::QueueFamilyKHR: in IsValidScope()
34 case spv::Scope::ShaderCallKHR: in IsValidScope()
36 case spv::Scope::Max: in IsValidScope()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_scopes.cpp24 bool IsValidScope(uint32_t scope) { in IsValidScope() argument
27 switch (static_cast<spv::Scope>(scope)) { in IsValidScope()
28 case spv::Scope::CrossDevice: in IsValidScope()
29 case spv::Scope::Device: in IsValidScope()
30 case spv::Scope::Workgroup: in IsValidScope()
31 case spv::Scope::Subgroup: in IsValidScope()
32 case spv::Scope::Invocation: in IsValidScope()
33 case spv::Scope::QueueFamilyKHR: in IsValidScope()
34 case spv::Scope::ShaderCallKHR: in IsValidScope()
36 case spv::Scope::Max: in IsValidScope()
[all …]

12345678910>>...584