/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_service.cc | 48 vars_["classname"] = descriptor_->name(); in ServiceGenerator() 49 vars_["full_name"] = descriptor_->full_name(); in ServiceGenerator() 51 vars_["dllexport"] = ""; in ServiceGenerator() 53 vars_["dllexport"] = options.dllexport_decl + " "; in ServiceGenerator() 61 printer->Print(vars_, in GenerateDeclarations() 70 printer->Print(vars_, in GenerateInterface() 79 printer->Print(vars_, in GenerateInterface() 104 printer->Print(vars_, in GenerateInterface() 113 printer->Print(vars_, in GenerateStubDefinition() 119 printer->Print(vars_, in GenerateStubDefinition() [all …]
|
D | cpp_service.h | 108 map<string, string> vars_; variable
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
D | revnet_test.py | 107 vars_ = self.model.trainable_variables 109 self.assertTrue(isinstance(vars_, list)) 110 self.assertEqual(len(grads), len(vars_)) 111 for grad, var in zip(grads, vars_): 118 grads_true = tape.gradient(loss_true, vars_) 135 vars_ = self.model.trainable_variables 137 self.assertTrue(isinstance(vars_, list)) 138 self.assertEqual(len(grads), len(vars_)) 139 for grad, var in zip(grads, vars_):
|
D | blocks_test.py | 153 vars_ = block.trainable_variables 155 grads = tape.gradient(y, [x] + vars_, output_gradients=dy) 182 vars_ = block.trainable_variables 184 grads = tape.gradient(y, [x] + vars_, output_gradients=dy)
|
D | main.py | 32 def apply_gradients(optimizer, grads, vars_, global_step=None): argument 34 optimizer.apply_gradients(zip(grads, vars_), global_step=global_step)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | training_op_helpers.h | 78 : vars_(std::move(vars)), in VariableInputLockHolder() 83 : vars_(std::move(other.vars_)), in VariableInputLockHolder() 91 for (Var* var : vars_) { in ~VariableInputLockHolder() 97 std::vector<Var*> vars_;
|
/external/bcc/src/cc/frontends/b/ |
D | codegen_llvm.cc | 268 auto it = vars_.find(n->decl_); in visit_ident_expr_node() 269 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() 278 auto it = vars_.find(n->decl_); in visit_ident_expr_node() 279 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() 285 auto it = vars_.find(n->decl_); in visit_ident_expr_node() 286 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() 302 auto it = vars_.find(n->decl_); in visit_ident_expr_node() 303 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() 353 auto it = vars_.find(*decl); in lookup_var() 354 if (it == vars_.end()) return mkstatus_(n, "unable to find %s memory location", name.c_str()); in lookup_var() [all …]
|
D | codegen_llvm.h | 123 map<VariableDeclStmtNode *, llvm::Value *> vars_; variable
|
/external/tensorflow/tensorflow/contrib/optimizer_v2/ |
D | gradient_descent_test.py | 163 vars_ = [variables.Variable([v], dtype=dtype) for v in values] 164 grads_and_vars = opt.compute_gradients(vars_[0] + vars_[1], vars_)
|
/external/tensorflow/tensorflow/python/training/ |
D | gradient_descent_test.py | 200 vars_ = [variables.Variable([v], dtype=dtype) for v in values] 201 grads_and_vars = opt.compute_gradients(vars_[0] + vars_[1], vars_)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | optimizers.py | 33 from tensorflow.python.ops import variables as vars_ unknown 235 variables = vars_.trainable_variables()
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | gradient_descent_test.py | 198 vars_ = [variables.Variable([v], dtype=dtype) for v in values] 199 loss = lambda: vars_[0] + vars_[1] # pylint: disable=cell-var-from-loop 200 grads_and_vars = opt._compute_gradients(loss, vars_)
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu.py | 167 def get_replicated_var_handle(self, name, vars_): argument 196 [v.handle for v in vars_], name=name + "/handle")
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | control_flow_ops_py_test.py | 3722 vars_ = variables.global_variables() 3723 grads = linalg_ops.norm(gradients_impl.gradients(r, vars_)[0]) 3725 result = gradients_impl.gradients(z, vars_)[0]
|