Home
last modified time | relevance | path

Searched full:variables (Results 1 – 25 of 6887) sorted by relevance

12345678910>>...276

/external/clang/test/SemaCUDA/
Ddevice-var-init.cu4 // variables, but accept empty constructors allowed by CUDA.
16 // expected-error@-1 {{initialization is not supported for __shared__ variables.}}
19 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
21 // expected-error@-1 {{initialization is not supported for __shared__ variables.}}
23 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
26 // expected-error@-1 {{initialization is not supported for __shared__ variables.}}
29 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
31 // expected-error@-1 {{initialization is not supported for __shared__ variables.}}
33 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
36 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
[all …]
/external/tensorflow/tensorflow/python/training/
Dsession_manager_test.py31 from tensorflow.python.ops import variables
44 v = variables.VariableV1([1.0, 2.0, 3.0], name="v")
46 ready_op=variables.report_uninitialized_variables())
48 "", init_op=variables.global_variables_initializer())
54 v = variables.VariableV1(p, name="v")
56 ready_op=variables.report_uninitialized_variables())
59 init_op=variables.global_variables_initializer(),
65 v = variables.VariableV1([125], name="v")
67 ready_op=variables.report_uninitialized_variables())
84 v = variables.VariableV1([1.0, 2.0, 3.0], name="v")
[all …]
Dmoving_averages.py29 from tensorflow.python.ops import variables
34 # TODO(touts): switch to variables.Variable.
45 Since variables that are initialized to a `0` value will be `0` biased,
52 The names of the debias shadow variables, by default, include both the scope
53 they were created in and the scope of the variables they debias. They are also
121 Internally, this Op keeps moving average variables of both `value * weight`
131 collections: List of graph collections keys to add the internal variables
141 # user-visible variables. It is the ratio of two internal variables, which are
177 and therefore are biased to 0. Variables initialized to 0 and used as EMAs are
192 In order to perform debiasing, we use two shadow variables. One keeps track of
[all …]
Doptimizer_test.py30 from tensorflow.python.ops import variables
40 # Note that we name the variables uniquely here since the variables don't
54 self.evaluate(variables.global_variables_initializer())
69 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
70 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
72 global_step = variables.Variable(
81 variables.global_variables_initializer().run()
95 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
96 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
99 global_step = variables.Variable(
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py38 from tensorflow.python.ops import variables
48 v = variables.VariableV1(0.0)
54 var0 = variables.VariableV1(0.0)
61 var1 = variables.VariableV1(1.1)
74 self.evaluate(variables.global_variables_initializer())
82 rnd = variables.Variable(random_ops.random_uniform([3, 6]), name="rnd")
88 dep = variables.Variable(rnd.initialized_value(), name="dep")
98 depdep = variables.Variable(added_val, name="depdep")
104 self.evaluate(variables.global_variables_initializer())
112 for _ in variables.Variable(0.0):
[all …]
Dtemplate_test.py34 from tensorflow.python.ops import variables
54 variables.Variable(0, trainable=trainable)
108 self.evaluate(variables.global_variables_initializer())
174 self.assertEqual([v], tpl.variables)
176 self.assertEqual([x, v], tpl.variables)
342 # nested1 and nested2 should not share variables
345 # Variables created by nested1 should be isolated from variables
347 self.assertEqual(nested1.variables, [v1])
348 self.assertEqual(nested2.variables, [v2])
362 # The second invocation of tmpl1 should reuse the variables
[all …]
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables.py37 from tensorflow.python.ops import variables
165 initial_value: See variables.Variable.__init__.
166 validate_shape: See variables.Variable.__init__.
167 name: See variables.Variable.__init__.
187 initial_value: See variables.Variable.__init__.
188 validate_shape: See variables.Variable.__init__.
189 name: See variables.Variable.__init__.
215 synchronization=variables.VariableSynchronization.AUTO,
216 aggregation=variables.VariableAggregation.NONE):
293 synchronization=variables.VariableSynchronization.AUTO,
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message_field.cc48 map<string, string>* variables, in SetMessageVariables() argument
50 SetCommonFieldVariables(descriptor, variables, options); in SetMessageVariables()
51 (*variables)["type"] = FieldMessageTypeName(descriptor); in SetMessageVariables()
53 (*variables)["non_null_ptr_to_name"] = in SetMessageVariables()
54 StrCat("this->", (*variables)["name"], "_"); in SetMessageVariables()
56 (*variables)["stream_writer"] = in SetMessageVariables()
57 (*variables)["declared_type"] + in SetMessageVariables()
63 (*variables)["release_name"] = in SetMessageVariables()
66 (*variables)["full_name"] = descriptor->full_name(); in SetMessageVariables()
68 (*variables)["dependent_type"] = "T::" + DependentTypeName(descriptor); in SetMessageVariables()
[all …]
Dcpp_field.cc62 map<string, string>* variables, in SetCommonFieldVariables() argument
64 (*variables)["name"] = FieldName(descriptor); in SetCommonFieldVariables()
65 (*variables)["index"] = SimpleItoa(descriptor->index()); in SetCommonFieldVariables()
66 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables()
67 (*variables)["classname"] = ClassName(FieldScope(descriptor), false); in SetCommonFieldVariables()
68 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type()); in SetCommonFieldVariables()
72 // (*variables)["non_null_ptr_to_name"] differently. in SetCommonFieldVariables()
73 (*variables)["non_null_ptr_to_name"] = in SetCommonFieldVariables()
76 (*variables)["tag_size"] = SimpleItoa( in SetCommonFieldVariables()
78 (*variables)["deprecation"] = descriptor->options().deprecated() in SetCommonFieldVariables()
[all …]
/external/tensorflow/tensorflow/python/keras/
Dmetrics_confusion_matrix_test.py33 from tensorflow.python.ops import variables
43 self.assertEqual(len(fp_obj.variables), 1)
49 self.assertEqual(len(fp_obj2.variables), 1)
54 self.evaluate(variables.variables_initializer(fp_obj.variables))
68 self.evaluate(variables.variables_initializer(fp_obj.variables))
79 self.evaluate(variables.variables_initializer(fp_obj.variables))
93 self.evaluate(variables.variables_initializer(fp_obj.variables))
123 self.assertEqual(len(fn_obj.variables), 1)
129 self.assertEqual(len(fn_obj2.variables), 1)
134 self.evaluate(variables.variables_initializer(fn_obj.variables))
[all …]
/external/tensorflow/tensorflow/python/ops/
Dtemplate.py46 functions that create variables the first time they are called and reuse them
50 * The function should create all trainable variables and any variables that
52 created using `tf.Variable`, then a ValueError will be thrown. Variables
56 create and reuse variables, but it shouldn't use `tf.global_variables` to
57 capture variables that are defined outside of the scope of the function.
82 first call if trainable variables are created by calling `tf.Variable`.
87 variables.
104 # Creates a template that reuses the variables above.
130 custom_getter_: Optional custom getter for variables used in `func_`. See
136 A function to encapsulate a set of variables which should be created once
[all …]
Dcustom_gradient.py146 signature `g(*grad_ys, variables=None)`, where `variables` is a list of
149 with the derivatives of `Tensor`s in `y` with respect to the variables
150 (that is, grad_vars has one Tensor per variable in variables).
177 # Checking global and local variables attempts to ensure that no non-resource
178 # Variables are added to the graph.
190 "All variables used by a function wrapped with @custom_gradient must "
193 # The variables that grad_fn needs to return gradients for are the set of
194 # variables used that are *not* part of the inputs.
195 variables = list(set(tape.watched_variables()) - set(args))
197 variables_in_signature = ("variables" in grad_argspec.args or
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java51 * A declaration of variables.
68 private NodeList<VariableDeclarator> variables; field in VariableDeclarationExpr
90 public VariableDeclarationExpr(final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
91 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), variables); in VariableDeclarationExpr()
94 …eDeclarationExpr(final EnumSet<Modifier> modifiers, final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
95 this(null, modifiers, new NodeList<>(), variables); in VariableDeclarationExpr()
99 …ifiers, final NodeList<AnnotationExpr> annotations, final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
100 this(null, modifiers, annotations, variables); in VariableDeclarationExpr()
107 …odifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
111 setVariables(variables); in VariableDeclarationExpr()
[all …]
/external/proguard/src/proguard/evaluation/
DVariables.java30 * the respective variables.
34 public class Variables class
44 * Creates a new Variables object with a given maximum number of variables.
46 public Variables(int size) in Variables() method in Variables
54 * Creates a Variables object that is a copy of the given Variables object.
56 public Variables(Variables variables) in Variables() method in Variables
59 this(variables.size); in Variables()
62 initialize(variables); in Variables()
67 * Resets this Variables object, so that it can be reused.
79 // Clear the variables. in reset()
[all …]
/external/tensorflow/tensorflow/contrib/opt/python/training/
Delastic_average_optimizer.py29 from tensorflow.python.ops import variables
42 1. Change trainable variables to local collection and place them at worker
44 2. Generate global variables(global center variables)
45 3. Generate local variables(local center variables) which record the global
46 variables and place them at worker device
48 so that the global center variables and global step variable can be placed
145 the local variables and maintains its own local_step, which starts from 0
146 and is incremented by 1 after each update of local variables. Whenever
148 the current global center variables and then computed the elastic difference
149 between global center variables and local variables. The elastic difference
[all …]
Dlazy_adam_gs_optimizer_test.py34 from tensorflow.python.ops import variables
62 # Initialize variables for numpy implementation.
75 global_step = variables.Variable(array_ops.zeros([], dtypes.int64))
76 var0 = variables.Variable(var0_np)
77 var1 = variables.Variable(var1_np)
91 variables.global_variables_initializer().run()
123 global_step = variables.Variable(array_ops.zeros([], dtypes.int64))
124 var = variables.Variable([[1.0], [2.0]])
131 variables.global_variables_initializer().run()
148 repeated_index_global_step = variables.Variable(
[all …]
Dmodel_average_optimizer.py29 from tensorflow.python.ops import variables
39 1. Change trainable variables to local collection and place them at worker
41 2. Generate global variables
43 so that the global center variables and global step variable can be placed
105 the local variables and maintains its own local_step, which starts from 0
106 and is incremented by 1 after each update of local variables. Whenever the
107 interval_steps divides the local step, the local variables from all the
108 workers will be averaged and assigned to global center variables. Then the
109 local variables will be assigned by global center variables.
123 opt: The actual optimizer that will be used to update local variables
[all …]
Dadam_gs_optimizer_test.py34 from tensorflow.python.ops import variables
61 # Initialize variables for numpy implementation.
74 global_step = variables.Variable(array_ops.zeros([], dtypes.int64))
75 var0 = variables.Variable(var0_np)
76 var1 = variables.Variable(var1_np)
88 variables.global_variables_initializer().run()
121 var = variables.Variable([[1.0], [2.0]])
126 variables.global_variables_initializer().run()
132 repeated_index_global_step = variables.Variable(
134 aggregated_global_step = variables.Variable(
[all …]
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp220 // Default block variables in isValid()
222 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx) in isValid()
225 if (m_defaultBlock.variables[varNdx].layout.binding == -1 && in isValid()
226 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid()
230 if (m_defaultBlock.variables[varNdx].varType.isStructType() && in isValid()
231 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid()
236 if (m_defaultBlock.variables[varNdx].layout.matrixOrder != glu::MATRIXORDER_LAST) in isValid()
239 if (containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeSampler)) in isValid()
241 …ut layoutWithLocationAndBinding(m_defaultBlock.variables[varNdx].layout.location, m_defaultBlock.v… in isValid()
243 if (m_defaultBlock.variables[varNdx].layout != layoutWithLocationAndBinding) in isValid()
[all …]
/external/python/google-api-python-client/docs/dyn/
Druntimeconfig_v1beta1.projects.configs.variables.html75 …l">configs</a> . <a href="runtimeconfig_v1beta1.projects.configs.variables.html">variables</a></h1>
82 <p class="firstline">Deletes a variable or multiple variables.</p>
88 <p class="firstline">Lists variables within given a configuration, matching any provided filters.</…
109 [Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables)
123 # opaque string and only leaf variables can have values (that is, variables
124 # that do not have any child variables).
130 # the outcome of the `variables().watch` call and is visible through the
137 # projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]
174 # opaque string and only leaf variables can have values (that is, variables
175 # that do not have any child variables).
[all …]
/external/icu/icu4c/source/i18n/
Drbt_data.cpp28 variables(0), variablesAreOwned(TRUE) in TransliterationRuleData()
34 variables = 0; in TransliterationRuleData()
59 variables = 0; in TransliterationRuleData()
60 if (other.variables != 0) { in TransliterationRuleData()
61 variables = (UnicodeFunctor **)uprv_malloc(variablesLength * sizeof(UnicodeFunctor *)); in TransliterationRuleData()
63 if (variables == 0) { in TransliterationRuleData()
68 variables[i] = other.variables[i]->clone(); in TransliterationRuleData()
69 if (variables[i] == NULL) { in TransliterationRuleData()
78 delete variables[n]; in TransliterationRuleData()
80 uprv_free(variables); in TransliterationRuleData()
[all …]
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Dclip_weights_test.py25 from tensorflow.python.ops import variables
35 self.variables = [variables.Variable(2.0)]
37 'VarTuple', ['discriminator_variables'])(self.variables)
40 loss = self.variables[0]
43 opt_clip = clip_weights.clip_variables(opt, self.variables, 0.1)
47 train_op1 = opt.minimize(loss, var_list=self.variables)
48 train_op2 = opt_clip.minimize(loss, var_list=self.variables)
51 sess.run(variables.global_variables_initializer())
52 self.assertEqual(2.0, self.variables[0].eval())
54 self.assertLess(0.1, self.variables[0].eval())
[all …]
/external/clang/docs/
DBlockLanguageSpec.rst149 that of its parent. Variables used within the scope of the compound
152 functions and global variables as one would expect, as well as static
153 local variables. [testme]
155 Local automatic (stack) variables referenced within the compound
172 The lifetime of variables declared in a Block is that of a function;
173 each activation frame contains a new copy of variables declared within
179 (nest) and all variables captured by any nested blocks are implicitly
183 Block variables at global or local static scope.
226 qualifier, :block-term:`__block`, for local variables. [testme: a
229 qualifiers auto, register, and static. [testme] Variables qualified by
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DPartialEvaluator.java258 // Reuse the existing variables and stack objects, ensuring the right size. in visitCodeAttribute0()
259 TracedVariables variables = new TracedVariables(codeAttribute.u2maxLocals); in visitCodeAttribute0() local
262 // Initialize the reusable arrays and variables. in visitCodeAttribute0()
264 initializeParameters(clazz, method, codeAttribute, variables); in visitCodeAttribute0()
273 variables, in visitCodeAttribute0()
466 * Returns the variables before execution of the instruction at the given
476 * Returns the variables after execution of the instruction at the given
531 private void pushCallingInstructionBlock(TracedVariables variables, in pushCallingInstructionBlock() argument
535 callingInstructionBlockStack.push(new MyInstructionBlock(variables, in pushCallingInstructionBlock()
544 private void pushInstructionBlock(TracedVariables variables, in pushInstructionBlock() argument
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dmodel_analyzer.py15 """Tools for analyzing the operations and variables in a TensorFlow graph.
24 To analyze the model variables in a graph:
26 variables = tf.model_variables()
27 slim.model_analyzer.analyze_vars(variables, print_info=False)
83 def analyze_vars(variables, print_info=False): argument
84 """Prints the names and shapes of the variables.
87 variables: list of variables, for example tf.global_variables().
88 print_info: Optional, if true print variables and their shape.
91 (total size of the variables, total bytes of the variables)
95 print('Variables: name (type shape) [size]')
[all …]

12345678910>>...276