HomeSort by relevance Sort by last modified time
    Searched refs:variables (Results 76 - 100 of 1568) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/python/uritemplates/uritemplate/
api.py 16 :param dict var_dict: Optional dictionary with variables and values
42 :param dict var_dict: Optional dictionary with variables and values
55 def variables(uri): function
56 """Parse the variables of the template.
65 variables('https://api.github.com{/end})
67 variables('https://api.github.com/repos{/username}{/repository}')
template.py 68 #: A list of the variables in the URI. They are stored as
70 self.variables = [
75 for variable in self.variables:
91 if not self.variables:
96 for v in self.variables:
114 :param dict var_dict: Optional dictionary with variables and values
140 :param dict var_dict: Optional dictionary with variables and values
  /external/tensorflow/tensorflow/python/training/
proximal_gradient_descent_test.py 30 from tensorflow.python.ops import variables
45 var0 = variables.Variable([0.0, 0.0])
46 var1 = variables.Variable([0.0, 0.0])
52 variables.global_variables_initializer().run()
77 var0 = variables.Variable([1.0, 2.0])
78 var1 = variables.Variable([4.0, 3.0])
85 variables.global_variables_initializer().run()
109 variables.global_variables_initializer().run()
122 var0 = variables.Variable([1.0, 2.0])
123 var1 = variables.Variable([4.0, 3.0]
    [all...]
server_lib_multiple_containers_test.py 25 from tensorflow.python.ops import variables
40 v0 = variables.Variable(1.0, name="v0")
42 v1 = variables.Variable(2.0, name="v0")
45 sess.run(variables.global_variables_initializer())
server_lib_same_variables_no_clear_test.py 25 from tensorflow.python.ops import variables
32 # Verifies behavior of multiple variables with multiple sessions connecting to
42 v0 = variables.VariableV1([[2, 1]], name="v0")
43 v1 = variables.VariableV1([[1], [2]], name="v1")
  /external/v8/tools/testrunner/local/
statusfile.py 57 VARIABLES = {ALWAYS: True}
63 VARIABLES[var] = var
67 VARIABLES[var] = var
70 def __init__(self, path, variables):
76 self._rules, self._prefix_rules = ReadStatusFile(f.read(), variables)
150 def _EvalExpression(exp, variables):
156 return eval(exp, variables)
164 condition, section, variables, variant, rules, prefix_rules):
165 variables_with_variant = dict(variables)
180 def _ParseOutcomeList(rule, outcomes, variables, target_dict)
    [all...]
  /external/tensorflow/tensorflow/contrib/opt/python/training/
lazy_adam_gs_optimizer_test.py 34 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...]
external_optimizer_test.py 29 from tensorflow.python.ops import variables
72 scalar = variables.VariableV1(random_ops.random_normal([]), 'scalar')
73 vector = variables.VariableV1(random_ops.random_normal([2]), 'vector')
74 matrix = variables.VariableV1(random_ops.random_normal([2, 3]), 'matrix')
89 sess.run(variables.global_variables_initializer())
99 vector = variables.VariableV1(vector_val, 'vector')
111 sess.run(variables.global_variables_initializer())
163 x = variables.VariableV1(array_ops.zeros(dimension))
168 sess.run(variables.global_variables_initializer())
176 x = variables.VariableV1(array_ops.zeros(dimension)
    [all...]
adam_gs_optimizer_test.py 34 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...]
elastic_average_optimizer.py 29 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. Wheneve
    [all...]
  /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/
ThrowsBound.java 49 Set<InferenceVariable> variables = new HashSet<>(); local
50 variables.add(inferenceVariable);
51 return variables;
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_rename_regs.c 52 struct rc_list * variables; local
68 variables = rc_get_variables(c);
70 for (var_ptr = variables; var_ptr; var_ptr = var_ptr->Next) {
  /external/tensorflow/tensorflow/compiler/tests/
placeholder_test.py 24 from tensorflow.python.ops import variables
35 sess.run(variables.variables_initializer([v]))
43 sess.run(variables.variables_initializer([v]))
  /external/tensorflow/tensorflow/contrib/distribute/python/
moving_averages_test.py 28 from tensorflow.python.ops import variables
47 var = variables.Variable([10.0, 11.0])
57 variables.global_variables_initializer().run()
74 var = variables.Variable([0.0, 0.0])
83 variables.global_variables_initializer().run()
94 var = variables.Variable([10.0, 11.0])
102 variables.global_variables_initializer().run()
123 var = variables.Variable([0.0, 0.0])
130 variables.global_variables_initializer().run()
146 var = variables.Variable([10.0, 11.0]
    [all...]
  /external/tensorflow/tensorflow/python/eager/
def_function_xla_test.py 23 from tensorflow.python.ops import variables
36 v = variables.Variable([1., 2.])
38 already_initialized = variables.Variable(3.)
  /external/tensorflow/tensorflow/python/saved_model/
main_op_impl.py 24 from tensorflow.python.ops import variables
35 """Returns a main op to init variables and tables.
38 variables, initializes local variables and initialize all tables.
43 init = variables.global_variables_initializer()
44 init_local = variables.local_variables_initializer()
58 """Returns a main op to init variables, tables and restore the graph.
61 variables, initialize local variables, initialize all tables and the restore
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_primitive_field.cc 169 map<string, string>* variables) {
170 (*variables)["name"] =
172 (*variables)["capitalized_name"] =
174 (*variables)["number"] = SimpleItoa(descriptor->number());
177 (*variables)["type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor));
179 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor));
190 (*variables)["default"] = DefaultValue(params, descriptor);
191 (*variables)["default_constant"] = FieldDefaultConstantName(descriptor);
192 (*variables)["default_constant_value"] = strings::Substitute(
195 (*variables)["default_copy_if_needed"]
    [all...]
  /external/tensorflow/tensorflow/python/ops/
custom_gradient.py 146 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)
    [all...]
  /external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
ConcreteMethodImpl.java 216 public List<LocalVariable> variables() throws AbsentInformationException { method in class:ConcreteMethodImpl
221 List<LocalVariable> variables = getVariables(); local
224 Iterator<LocalVariable> iter = variables.iterator();
235 List<LocalVariable> variables = getVariables(); local
237 List<LocalVariable> retList = new ArrayList<LocalVariable>(variables.size());
238 Iterator<LocalVariable> iter = variables.iterator();
454 // Get the number of slots used by argument variables
457 List<LocalVariable> variables = new ArrayList<LocalVariable>(count); local
463 * variables from the JLS perspective.
476 variables.add(variable)
504 List<LocalVariable> variables = new ArrayList<LocalVariable>(count); local
535 List<LocalVariable> variables = (variablesRef == null) ? null : local
    [all...]
  /external/tensorflow/tensorflow/contrib/optimizer_v2/
adagrad_test.py 31 from tensorflow.python.ops import variables
44 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
45 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
52 variables.global_variables_initializer().run()
80 variables.global_variables_initializer().run()
93 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
94 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
101 variables.global_variables_initializer().run()
117 var0 = variables.Variable([[1.0], [2.0]], dtype=dtype)
118 var1 = variables.Variable([[3.0], [4.0]], dtype=dtype
    [all...]
optimizer_v2_test.py 32 from tensorflow.python.ops import variables
51 self.evaluate(variables.global_variables_initializer())
65 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
66 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
68 global_step = variables.Variable(
77 variables.global_variables_initializer().run()
90 var0 = variables.Variable([1.0, 2.0], dtype=dtype)
91 var1 = variables.Variable([3.0, 4.0], dtype=dtype)
94 global_step = variables.Variable(
100 variables.global_variables_initializer().run(
    [all...]
  /external/tensorflow/tensorflow/contrib/specs/python/
summaries_test.py 26 from tensorflow.python.ops import variables
42 variables.global_variables_initializer().run()
55 variables.global_variables_initializer().run()
67 variables.global_variables_initializer().run()
77 variables.global_variables_initializer().run()
specs_test.py 27 from tensorflow.python.ops import variables
46 variables.global_variables_initializer().run()
61 variables.global_variables_initializer().run()
71 variables.global_variables_initializer().run()
85 variables.global_variables_initializer().run()
98 variables.global_variables_initializer().run()
115 variables.global_variables_initializer().run()
131 variables.global_variables_initializer().run()
147 variables.global_variables_initializer().run()
190 self.assertEqual(len(variables.global_variables()), 1
    [all...]
  /art/tools/checker/common/
logger.py 58 def fail(msg, file=None, line=-1, lineText=None, variables=None):
73 if variables:
75 for var in variables:
78 for var in collections.OrderedDict(sorted(variables.items())):
83 Logger.log(variables[var], Logger.Level.Error, out=sys.stderr)
97 def testFailed(msg, assertion, variables):
99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_message_field.cc 54 const FieldDescriptor* descriptor, map<string, string>* variables) {
55 (*variables)["name"] =
57 (*variables)["capitalized_name"] =
59 (*variables)["number"] = SimpleItoa(descriptor->number());
60 (*variables)["type"] = ClassName(params, descriptor->message_type());
61 (*variables)["group_or_message"] =
64 (*variables)["message_name"] = descriptor->containing_type()->name();
65 //(*variables)["message_type"] = descriptor->message_type()->name();

Completed in 1926 milliseconds

1 2 34 5 6 7 8 91011>>