Home
last modified time | relevance | path

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

12345678910>>...346

/external/llvm-project/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.}}
35 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
37 // expected-error@-1 {{initialization is not supported for __shared__ variables.}}
39 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
42 …{{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}}
[all …]
/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/lite/experimental/acceleration/compatibility/
Ddevicedb_test.cc23 #include "tensorflow/lite/experimental/acceleration/compatibility/variables.h"
50 std::map<std::string, std::string> variables; in TEST_F() local
53 variables[kDeviceModel] = "m712c"; in TEST_F()
54 UpdateVariablesFromDatabase(&variables, *device_db_); in TEST_F()
55 EXPECT_EQ(variables[kSoCModel], "exynos_7872"); in TEST_F()
58 variables.clear(); in TEST_F()
59 variables[kDeviceModel] = "sc_02l"; in TEST_F()
60 UpdateVariablesFromDatabase(&variables, *device_db_); in TEST_F()
61 EXPECT_EQ(variables[kSoCModel], "exynos_7885"); in TEST_F()
64 variables.clear(); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/training/
Dsession_manager_test.py32 from tensorflow.python.ops import variables
50 v = variables.VariableV1([1.0, 2.0, 3.0], name="v")
52 ready_op=variables.report_uninitialized_variables())
54 "", init_op=variables.global_variables_initializer())
60 v = variables.VariableV1(p, name="v")
62 ready_op=variables.report_uninitialized_variables())
65 init_op=variables.global_variables_initializer(),
71 v = variables.VariableV1([125], name="v")
73 ready_op=variables.report_uninitialized_variables())
81 v = variables.VariableV1(p, name="v",
[all …]
Dmoving_averages.py30 from tensorflow.python.ops import variables
35 # TODO(touts): switch to variables.Variable.
46 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
129 Internally, this Op keeps moving average variables of both `value * weight`
139 collections: List of graph collections keys to add the internal variables
149 # user-visible variables. It is the ratio of two internal variables, which are
199 and therefore are biased to 0. Variables initialized to 0 and used as EMAs are
214 In order to perform debiasing, we use two shadow variables. One keeps track of
[all …]
Doptimizer_test.py33 from tensorflow.python.ops import variables
44 # Note that we name the variables uniquely here since the variables don't
58 self.evaluate(variables.global_variables_initializer())
73 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
74 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
76 global_step = variables.Variable(
85 self.evaluate(variables.global_variables_initializer())
99 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
100 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
103 global_step = variables.Variable(
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py41 from tensorflow.python.ops import variables
51 v = variables.VariableV1(0.0)
57 var0 = variables.VariableV1(0.0)
64 var1 = variables.VariableV1(1.1)
77 self.evaluate(variables.global_variables_initializer())
85 rnd = variables.Variable(random_ops.random_uniform([3, 6]), name="rnd")
91 dep = variables.Variable(rnd.initialized_value(), name="dep")
101 depdep = variables.Variable(added_val, name="depdep")
107 self.evaluate(variables.global_variables_initializer())
120 initial_value = variables._try_guard_against_uninitialized_dependencies(
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dparameter_server_strategy_v2_test.py39 from tensorflow.python.ops import variables
63 v1 = variables.Variable(initial_value=0.0)
65 v2 = variables.Variable(initial_value=1.0)
66 v3 = variables.Variable(initial_value=2.0)
67 v4 = variables.Variable(initial_value=3.0)
68 v5 = variables.Variable(initial_value=4.0)
99 v = variables.Variable(1, dtype=dtypes.int64)
162 v = variables.Variable([0, 1, 2, 3])
164 self.assertIsInstance(v, variables.Variable)
171 v1 = variables.Variable(
[all …]
/external/python/cpython3/.azure-pipelines/
Dwindows-release.yml3 variables:
5 # QUEUE TIME VARIABLES
27 condition: and(succeeded(), not(variables['BuildToPublish']))
34 condition: and(succeeded(), not(variables['BuildToPublish']))
41 condition: and(succeeded(), not(variables['BuildToPublish']))
49 condition: and(succeeded(), not(variables['BuildToPublish']))
55 condition: and(succeeded(), not(variables['BuildToPublish']))
63 …condition: and(succeeded(), and(eq(variables['DoMSIX'], 'true'), not(variables['BuildToPublish'])))
70 condition: and(succeeded(), not(variables['BuildToPublish']))
77 condition: and(succeeded(), and(eq(variables['DoMSI'], 'true'), not(variables['BuildToPublish'])))
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcppcoreguidelines-avoid-non-const-global-variables.cpp1 // RUN: %check_clang_tidy %s cppcoreguidelines-avoid-non-const-global-variables %t
4 … globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
7 …t; consider making the referenced data 'const' [cppcoreguidelines-avoid-non-const-global-variables]
10 … globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
11 …t; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables]
14 …t; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables]
18 … globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
26 … globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
41 … globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
55 … globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
[all …]
/external/swiftshader/src/Vulkan/Debug/
DVariable.hpp47 // Variables is an interface to a collection of named values.
48 class Variables class
51 using ID = dbg::ID<Variables>;
56 inline Variables();
57 virtual ~Variables();
59 // foreach() calls cb with each of the variables in the container, while cb
64 // foreach() calls cb with each of the variables in the container within the
72 // string() returns the list of variables formatted to a string using the
76 // The unique identifier of the variables.
83 Variables::Variables() in Variables() function in vk::dbg::Variables
[all …]
/external/mesa3d/
D.gitlab-ci.yml1 variables:
168 variables:
233 variables:
245 variables:
253 variables:
263 variables:
267 variables:
278 variables:
282 variables:
293 variables:
[all …]
/external/tensorflow/tensorflow/python/ops/
Dcustom_gradient.py100 In case the function takes multiple variables as input, the `grad`
101 function must also return the same number of variables.
195 signature `g(*grad_ys, variables=None)`, where `variables` is a list of
198 with the derivatives of `Tensor`s in `y` with respect to the variables
199 (that is, grad_vars has one Tensor per variable in variables).
270 # Filter out non-trainable variables.
288 """Finds variables involved in the subgraph between input_ops and output_ops.
295 A list of variables
322 # Checking global and local variables attempts to ensure that no non-resource
323 # Variables are added to the graph.
[all …]
Dtemplate.py49 functions that create variables the first time they are called and reuse them
53 * The function should create all trainable variables and any variables that
56 created using `tf.Variable`, then a ValueError will be thrown. Variables
60 create and reuse variables, but it shouldn't use
62 capture variables that are defined outside of the scope of the function.
87 first call if trainable variables are created by calling `tf.Variable`.
92 variables.
110 # Creates a template that reuses the variables above.
137 custom_getter_: Optional custom getter for variables used in `func_`. See
143 A function to encapsulate a set of variables which should be created once
[all …]
/external/tensorflow/tensorflow/python/keras/
Dmetrics_confusion_matrix_test.py36 from tensorflow.python.ops import variables
46 self.assertLen(fp_obj.variables, 1)
52 self.assertLen(fp_obj2.variables, 1)
57 self.evaluate(variables.variables_initializer(fp_obj.variables))
71 self.evaluate(variables.variables_initializer(fp_obj.variables))
82 self.evaluate(variables.variables_initializer(fp_obj.variables))
96 self.evaluate(variables.variables_initializer(fp_obj.variables))
126 self.assertLen(fn_obj.variables, 1)
132 self.assertLen(fn_obj2.variables, 1)
137 self.evaluate(variables.variables_initializer(fn_obj.variables))
[all …]
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp291 virtual Move<VkRenderPass> createRenderPass (const IterateCommonVariables& variables);
310 const IterateCommonVariables& variables);
340 virtual void copyBuffersToImages (IterateCommonVariables& variables);
342 virtual void copyImagesToBuffers (IterateCommonVariables& variables);
351 virtual void createAndPopulateDescriptors (IterateCommonVariables& variables) = 0;
353 virtual void updateDescriptors (IterateCommonVariables& variables);
356 const IterateCommonVariables& variables,
359 void iterateCommandSetup (IterateCommonVariables& variables);
361 void iterateCommandBegin (IterateCommonVariables& variables,
364 void iterateCommandEnd (IterateCommonVariables& variables,
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field_lite.cc71 std::map<std::string, std::string>* variables) { in SetPrimitiveVariables() argument
72 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables()
74 (*variables)["type"] = PrimitiveTypeName(javaType); in SetPrimitiveVariables()
75 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(javaType); in SetPrimitiveVariables()
76 (*variables)["field_type"] = (*variables)["type"]; in SetPrimitiveVariables()
77 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
78 (*variables)["capitalized_type"] = in SetPrimitiveVariables()
80 (*variables)["tag"] = in SetPrimitiveVariables()
82 (*variables)["tag_size"] = StrCat( in SetPrimitiveVariables()
84 (*variables)["required"] = descriptor->is_required() ? "true" : "false"; in SetPrimitiveVariables()
[all …]
/external/virglrenderer/ci/
D.gitlab-ci.yml1 variables:
21 variables:
32 variables:
53 variables:
58 variables:
63 variables:
72 variables:
77 variables:
82 variables:
87 variables:
[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/mesa3d/.gitlab-ci/
Dlava-gitlab-ci.yml1 variables:
8 variables:
21 variables:
30 variables:
36 variables:
44 variables:
92 variables:
106 variables:
122 variables:
145 variables:
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java49 * A declaration of variables.
66 private NodeList<VariableDeclarator> variables; field in VariableDeclarationExpr
88 public VariableDeclarationExpr(final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
89 this(null, new NodeList<>(), new NodeList<>(), variables); in VariableDeclarationExpr()
92 …DeclarationExpr(final NodeList<Modifier> modifiers, final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
93 this(null, modifiers, new NodeList<>(), variables); in VariableDeclarationExpr()
97 …ifiers, final NodeList<AnnotationExpr> annotations, final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
98 this(null, modifiers, annotations, variables); in VariableDeclarationExpr()
105 …odifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
109 setVariables(variables); in VariableDeclarationExpr()
[all …]
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp226 // Default block variables in isValid()
228 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx) in isValid()
231 if (m_defaultBlock.variables[varNdx].layout.binding == -1 && in isValid()
232 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid()
236 if (m_defaultBlock.variables[varNdx].varType.isStructType() && in isValid()
237 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid()
242 if (m_defaultBlock.variables[varNdx].layout.matrixOrder != glu::MATRIXORDER_LAST) in isValid()
245 if (containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeSampler)) in isValid()
247 …ut layoutWithLocationAndBinding(m_defaultBlock.variables[varNdx].layout.location, m_defaultBlock.v… in isValid()
249 if (m_defaultBlock.variables[varNdx].layout != layoutWithLocationAndBinding) in isValid()
[all …]
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc54 std::map<string, string>* variables) { in SetCommonFieldVariables() argument
71 (*variables)["tag"] = StrCat(tag); in SetCommonFieldVariables()
72 (*variables)["tag_size"] = StrCat(tag_size); in SetCommonFieldVariables()
73 (*variables)["tag_bytes"] = tag_bytes; in SetCommonFieldVariables()
89 (*variables)["access_level"] = "public"; in SetCommonFieldVariables()
91 (*variables)["property_name"] = property_name(); in SetCommonFieldVariables()
92 (*variables)["type_name"] = type_name(); in SetCommonFieldVariables()
93 (*variables)["extended_type"] = GetClassName(descriptor_->containing_type()); in SetCommonFieldVariables()
94 (*variables)["name"] = name(); in SetCommonFieldVariables()
95 (*variables)["descriptor_name"] = descriptor_->name(); in SetCommonFieldVariables()
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dadam_test.py34 from tensorflow.python.ops import variables
117 # Initialize variables for numpy implementation.
124 var0 = variables.Variable(var0_np)
125 var1 = variables.Variable(var1_np)
136 self.evaluate(variables.global_variables_initializer())
165 var = variables.Variable([[1.0], [2.0]])
170 self.evaluate(variables.global_variables_initializer())
177 repeated_index_update_var = variables.Variable(
179 aggregated_update_var = variables.Variable(
195 self.evaluate(variables.global_variables_initializer())
[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 …]

12345678910>>...346