Searched defs:constraints (Results 1 - 25 of 82) sorted by relevance

1234

/external/webrtc/talk/app/webrtc/objc/
H A DRTCMediaConstraints+Internal.h38 webrtc::RTCMediaConstraintsNative *constraints; variable
/external/webrtc/talk/app/webrtc/
H A Dlocalaudiosource_unittest.cc44 webrtc::FakeConstraints constraints; local
45 constraints.AddMandatory(
47 constraints.AddOptional(
49 constraints.AddOptional(MediaConstraintsInterface::kDAEchoCancellation, true);
50 constraints.AddOptional(MediaConstraintsInterface::kAutoGainControl, true);
51 constraints.AddOptional(
53 constraints.AddMandatory(MediaConstraintsInterface::kNoiseSuppression, false);
54 constraints.AddOptional(MediaConstraintsInterface::kHighpassFilter, true);
55 constraints.AddOptional(MediaConstraintsInterface::kAecDump, true);
59 &constraints);
72 webrtc::FakeConstraints constraints; local
80 webrtc::FakeConstraints constraints; local
94 webrtc::FakeConstraints constraints; local
107 webrtc::FakeConstraints constraints; local
[all...]
H A Dlocalaudiosource.cc42 // Convert constraints to audio options. Return false if constraints are
44 void FromConstraints(const MediaConstraintsInterface::Constraints& constraints, argument
46 // This design relies on the fact that all the audio constraints are actually
47 // "options", i.e. boolean-valued and always satisfiable. If the constraints
48 // are extended to include non-boolean values or actual format constraints,
74 for (const auto& constraint : constraints) {
90 const MediaConstraintsInterface* constraints) {
93 source->Initialize(options, constraints);
99 const MediaConstraintsInterface* constraints) {
88 Create( const PeerConnectionFactoryInterface::Options& options, const MediaConstraintsInterface* constraints) argument
97 Initialize( const PeerConnectionFactoryInterface::Options& options, const MediaConstraintsInterface* constraints) argument
[all...]
H A Dvideosource_unittest.cc145 const webrtc::MediaConstraintsInterface* constraints) {
149 constraints, false);
172 // Initialize without constraints.
187 // Initialize without constraints.
248 // Test that the capture output is CIF if we set max constraints to CIF.
251 FakeConstraints constraints; local
252 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352);
253 constraints.AddMandatory(MediaConstraintsInterface::kMaxHeight, 288);
254 constraints.AddMandatory(MediaConstraintsInterface::kMaxFrameRate, 5);
256 CreateVideoSource(&constraints);
144 CreateVideoSource( const webrtc::MediaConstraintsInterface* constraints) argument
269 FakeConstraints constraints; local
290 FakeConstraints constraints; local
311 FakeConstraints constraints; local
321 FakeConstraints constraints; local
353 FakeConstraints constraints; local
370 FakeConstraints constraints; local
380 FakeConstraints constraints; local
389 FakeConstraints constraints; local
399 FakeConstraints constraints; local
405 FakeConstraints constraints; local
418 FakeConstraints constraints; local
432 FakeConstraints constraints; local
445 FakeConstraints constraints; local
457 FakeConstraints constraints; local
473 FakeConstraints constraints; local
515 FakeConstraints constraints; local
533 FakeConstraints constraints; local
543 FakeConstraints constraints; local
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
H A DLinearOptimizer.java34 * and there may be linear constraints too, of one of the forms:
47 * the constraints, the x<sub>i</sub> are the coordinates of the current point and
77 * @param constraints linear constraints
82 * @exception OptimizationException if no solution fulfilling the constraints
85 RealPointValuePair optimize(LinearObjectiveFunction f, Collection<LinearConstraint> constraints, argument
H A DAbstractLinearOptimizer.java47 * Linear constraints.
105 final Collection<LinearConstraint> constraints,
111 this.linearConstraints = constraints;
124 * @exception OptimizationException if no solution fulfilling the constraints
104 optimize(final LinearObjectiveFunction f, final Collection<LinearConstraint> constraints, final GoalType goalType, final boolean restrictToNonNegative) argument
/external/clang/test/CodeGen/
H A Dnvptx-inlineasm-ptx.c4 void constraints() { function
/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dtf2xla_supported_ops.cc49 std::vector<string> constraints; local
56 constraints.push_back("`" + constraint.name() + "={" +
60 << str_util::Join(constraints, "<br>") << std::endl;
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
H A Dnormalization.py23 from tensorflow.python.keras._impl.keras import constraints namespace
105 beta_constraint=constraints.get(beta_constraint),
106 gamma_constraint=constraints.get(gamma_constraint),
133 'beta_constraint': constraints.serialize(self.beta_constraint),
134 'gamma_constraint': constraints.serialize(self.gamma_constraint)
H A Dembeddings.py22 from tensorflow.python.keras._impl.keras import constraints namespace
110 self.embeddings_constraint = constraints.get(embeddings_constraint)
172 constraints.serialize(self.embeddings_constraint),
H A Dlocal.py23 from tensorflow.python.keras._impl.keras import constraints namespace
119 self.kernel_constraint = constraints.get(kernel_constraint)
120 self.bias_constraint = constraints.get(bias_constraint)
190 constraints.serialize(self.kernel_constraint),
192 constraints.serialize(self.bias_constraint)
306 self.kernel_constraint = constraints.get(kernel_constraint)
307 self.bias_constraint = constraints.get(bias_constraint)
410 constraints.serialize(self.kernel_constraint),
412 constraints.serialize(self.bias_constraint)
H A Dadvanced_activations.py23 from tensorflow.python.keras._impl.keras import constraints namespace
113 self.alpha_constraint = constraints.get(alpha_constraint)
158 'alpha_constraint': constraints.serialize(self.alpha_constraint),
H A Dconvolutional_recurrent.py25 from tensorflow.python.keras._impl.keras import constraints namespace
351 self.kernel_constraint = constraints.get(kernel_constraint)
352 self.recurrent_constraint = constraints.get(recurrent_constraint)
353 self.bias_constraint = constraints.get(bias_constraint)
590 constraints.serialize(self.kernel_constraint),
592 constraints.serialize(self.recurrent_constraint),
594 constraints.serialize(self.bias_constraint),
H A Dconvolutional.py25 from tensorflow.python.keras._impl.keras import constraints namespace
132 kernel_constraint=constraints.get(kernel_constraint),
133 bias_constraint=constraints.get(bias_constraint),
151 'kernel_constraint': constraints.serialize(self.kernel_constraint),
152 'bias_constraint': constraints.serialize(self.bias_constraint)
265 kernel_constraint=constraints.get(kernel_constraint),
266 bias_constraint=constraints.get(bias_constraint),
285 'kernel_constraint': constraints.serialize(self.kernel_constraint),
286 'bias_constraint': constraints.serialize(self.bias_constraint)
406 kernel_constraint=constraints
[all...]
/external/tensorflow/tensorflow/contrib/keras/api/keras/
H A D__init__.py29 from tensorflow.contrib.keras.api.keras import constraints namespace
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dcpu_layout_assignment.cc97 LayoutConstraints* constraints) {
100 const HloComputation* computation = constraints->computation();
111 // These constraints are not hard constraints. Ideally, we should decide
119 constraints->SetOperandLayout(input_shape, convolution, 0));
121 constraints->SetOperandLayout(filter_shape, convolution, 1));
123 constraints->SetInstructionLayout(output_shape, convolution));
127 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(
134 // These constraints are not hard constraints
96 AddBackendConstraints( LayoutConstraints* constraints) argument
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dgpu_layout_assignment.cc46 HloInstruction* instr, LayoutConstraints* constraints) {
107 constraints->points_to_analysis().GetBufferDefinedAt(
112 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(input_shape, instr, 0));
113 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(filter_shape, instr, 1));
115 constraints->SetBufferLayout(output_shape.layout(), *call_result_buf));
117 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(output_shape, instr, 0));
118 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(filter_shape, instr, 1));
120 constraints->SetBufferLayout(input_shape.layout(), *call_result_buf));
122 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(input_shape, instr, 0));
123 TF_RETURN_IF_ERROR(constraints
45 AddBackendConstraintsToDnnConvCustomCall( HloInstruction* instr, LayoutConstraints* constraints) argument
133 AddBackendConstraints( LayoutConstraints* constraints) argument
154 PropagateOperandConstraint( const OperandLayoutConstraint& layout_constraint, LayoutConstraints* constraints) argument
207 PropagateBufferConstraint( const BufferLayoutConstraint& buffer_constraint, LayoutConstraints* constraints) argument
[all...]
/external/tensorflow/tensorflow/python/keras/
H A D__init__.py30 from tensorflow.python.keras import constraints namespace
/external/tensorflow/tensorflow/python/keras/_impl/keras/
H A D__init__.py25 from tensorflow.python.keras._impl.keras import constraints namespace
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
H A DConstraintFormula.java87 throw new IllegalArgumentException("Constraint with index " + index + " is not available as there are " + constraintFormulas.size() + " constraints");
96 public static ReductionResult withConstraints(ConstraintFormula... constraints) { argument
97 return withConstraints(Arrays.asList(constraints));
104 public static ReductionResult withConstraints(List<ConstraintFormula> constraints) { argument
106 reductionResult.constraintFormulas.addAll(constraints);
/external/tensorflow/tensorflow/python/keras/_impl/keras/applications/
H A Dmobilenet.py75 from tensorflow.python.keras._impl.keras import constraints namespace
214 self.depthwise_constraint = constraints.get(depthwise_constraint)
303 config['depthwise_constraint'] = constraints.serialize(
/external/llvm/lib/IR/
H A DInlineAsm.cpp37 const std::string &constraints, bool hasSideEffects,
40 AsmString(asmString), Constraints(constraints), FTy(FTy),
45 assert(Verify(getFunctionType(), constraints) &&
46 "Function type not legal for constraints!");
139 // Parse the various constraints.
185 // FIXME: For now assuming these are 2-character constraints.
214 // Scan the constraints string.
252 // Error parsing constraints.
36 InlineAsm(FunctionType *FTy, const std::string &asmString, const std::string &constraints, bool hasSideEffects, bool isAlignStack, AsmDialect asmDialect) argument
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DInlineAsm.cpp37 const std::string &constraints, bool hasSideEffects,
41 Constraints(constraints), HasSideEffects(hasSideEffects),
45 assert(Verify(getFunctionType(), constraints) &&
46 "Function type not legal for constraints!");
145 // Parse the various constraints.
186 // FIXME: For now assuming these are 2-character constraints.
215 // Scan the constraints string.
250 // Error parsing constraints.
36 InlineAsm(PointerType *Ty, const std::string &asmString, const std::string &constraints, bool hasSideEffects, bool isAlignStack) argument
/external/tensorflow/tensorflow/cc/framework/
H A Dcc_ops_test.cc35 std::vector<string>* constraints) {
36 constraints->clear();
38 constraints));
170 std::vector<string> constraints; local
171 GetColocationConstraints(c2, &constraints);
172 EXPECT_EQ(constraints[0], "loc:@c1");
175 GetColocationConstraints(c3, &constraints);
176 EXPECT_EQ(constraints[0], "loc:@c1");
180 GetColocationConstraints(c4, &constraints);
181 EXPECT_EQ(constraints[
34 GetColocationConstraints(const Output& tensor, std::vector<string>* constraints) argument
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dlayout_assignment.h45 // Abstract base class for layout constraints. These constraint objects are
126 // Class encapsulating the layout constraints of the values in a HLO
140 // Return a vector containing the constraints which have been added to the
143 // identify newly added constraints when propagating layouts.
213 // A vector which holds constraints as they are added. Can be cleared with
217 // Points-to analysis for the module. Used to propagate constraints through
227 // Contains constraints on the layout of channels; sends and recvs.
293 // the cost of the instructions being constrainted on. New constraints are
300 LayoutConstraints* constraints);
303 LayoutConstraints* constraints);
366 AddBackendConstraints(LayoutConstraints* constraints) argument
[all...]

Completed in 1425 milliseconds

1234