Searched refs:num_constraints (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/ |
D | external_regret_optimizer.py | 179 def _initial_state(self, num_constraints): argument 242 num_constraints = minimization_problem.num_constraints 243 constraints = standard_ops.reshape(constraints, shape=(num_constraints,)) 245 proxy_constraints, shape=(num_constraints,)) 251 lambda: self._initial_state(num_constraints), 370 def _initial_state(self, num_constraints): argument 376 return standard_ops.zeros((num_constraints,), dtype=dtypes.float32)
|
D | swap_regret_optimizer.py | 277 def _initial_state(self, num_constraints): argument 349 num_constraints = minimization_problem.num_constraints 350 constraints = standard_ops.reshape(constraints, shape=(num_constraints,)) 352 proxy_constraints, shape=(num_constraints,)) 358 lambda: self._initial_state(num_constraints), 475 def _initial_state(self, num_constraints): argument 479 dimension = num_constraints + 1 567 def _initial_state(self, num_constraints): argument 571 dimension = num_constraints + 1
|
D | constrained_minimization_problem.py | 57 def num_constraints(self): member in ConstrainedMinimizationProblem
|
/external/libcups/cups/ |
D | ppd-conflicts.c | 108 for (i = c->num_constraints, cptr = c->constraints; in cupsGetConflicts() 375 for (i = consts->num_constraints, constptr = consts->constraints; in cupsResolveConflicts() 613 for (i = c->num_constraints, cptr = c->constraints; in ppdConflicts() 779 consts->num_constraints = 2; in ppd_load_constraints() 880 consts->num_constraints = i; in ppd_load_constraints() 986 consts->installable, consts->resolver, consts->num_constraints, in ppd_test_constraints() 1006 for (i = consts->num_constraints, constptr = consts->constraints; in ppd_test_constraints() 1024 for (i = consts->num_constraints, constptr = consts->constraints; in ppd_test_constraints()
|
D | ppd-private.h | 95 num_constraints; /* Number of constraints */ member
|
/external/perfetto/src/trace_processor/ |
D | query_constraints.cc | 112 long num_constraints = strtol(splitter.cur_token() + 1, nullptr, 10); in FromString() local 113 for (int i = 0; i < num_constraints; ++i) { in FromString()
|
/external/tensorflow/tensorflow/contrib/losses/python/metric_learning/ |
D | metric_loss_ops_test.py | 165 num_constraints = 0.0 184 num_constraints += 1.0 188 loss_np = loss_np / num_constraints / 2.0
|