Home
last modified time | relevance | path

Searched refs:constraints (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/external/webrtc/talk/app/webrtc/
Dvideosource_unittest.cc145 const webrtc::MediaConstraintsInterface* constraints) { in CreateVideoSource() argument
149 constraints, false); in CreateVideoSource()
251 FakeConstraints constraints; in TEST_F() local
252 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352); in TEST_F()
253 constraints.AddMandatory(MediaConstraintsInterface::kMaxHeight, 288); in TEST_F()
254 constraints.AddMandatory(MediaConstraintsInterface::kMaxFrameRate, 5); in TEST_F()
256 CreateVideoSource(&constraints); in TEST_F()
269 FakeConstraints constraints; in TEST_F() local
270 constraints.AddMandatory(MediaConstraintsInterface::kMinWidth, 640); in TEST_F()
271 constraints.AddMandatory(MediaConstraintsInterface::kMinHeight, 480); in TEST_F()
[all …]
Dlocalaudiosource_unittest.cc44 webrtc::FakeConstraints constraints; in TEST() local
45 constraints.AddMandatory( in TEST()
47 constraints.AddOptional( in TEST()
49 constraints.AddOptional(MediaConstraintsInterface::kDAEchoCancellation, true); in TEST()
50 constraints.AddOptional(MediaConstraintsInterface::kAutoGainControl, true); in TEST()
51 constraints.AddOptional( in TEST()
53 constraints.AddMandatory(MediaConstraintsInterface::kNoiseSuppression, false); in TEST()
54 constraints.AddOptional(MediaConstraintsInterface::kHighpassFilter, true); in TEST()
55 constraints.AddOptional(MediaConstraintsInterface::kAecDump, true); in TEST()
59 &constraints); in TEST()
[all …]
Dpeerconnectioninterface_unittest.cc537 void CreatePeerConnection(webrtc::MediaConstraintsInterface* constraints) { in CreatePeerConnection() argument
538 CreatePeerConnection("", "", constraints); in CreatePeerConnection()
543 webrtc::MediaConstraintsInterface* constraints) { in CreatePeerConnection() argument
560 if (!constraints) { in CreatePeerConnection()
561 constraints = &default_constraints; in CreatePeerConnection()
569 if (FindConstraint(constraints, in CreatePeerConnection()
576 config, constraints, std::move(port_allocator), in CreatePeerConnection()
669 MediaConstraintsInterface* constraints) { in DoCreateOfferAnswer() argument
674 pc_->CreateOffer(observer, constraints); in DoCreateOfferAnswer()
676 pc_->CreateAnswer(observer, constraints); in DoCreateOfferAnswer()
[all …]
Dlocalaudiosource.cc44 void FromConstraints(const MediaConstraintsInterface::Constraints& constraints, in FromConstraints() argument
74 for (const auto& constraint : constraints) { in FromConstraints()
90 const MediaConstraintsInterface* constraints) { in Create() argument
93 source->Initialize(options, constraints); in Create()
99 const MediaConstraintsInterface* constraints) { in Initialize() argument
100 if (!constraints) in Initialize()
105 FromConstraints(constraints->GetOptional(), &options_); in Initialize()
108 FromConstraints(constraints->GetMandatory(), &mandatory_options); in Initialize()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_layout_assignment.cc46 HloInstruction* instr, LayoutConstraints* constraints) { in AddBackendConstraintsToDnnConvCustomCall() argument
107 constraints->points_to_analysis().GetBufferDefinedAt( in AddBackendConstraintsToDnnConvCustomCall()
112 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(input_shape, instr, 0)); in AddBackendConstraintsToDnnConvCustomCall()
113 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(filter_shape, instr, 1)); in AddBackendConstraintsToDnnConvCustomCall()
115 constraints->SetBufferLayout(output_shape.layout(), *call_result_buf)); in AddBackendConstraintsToDnnConvCustomCall()
117 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(output_shape, instr, 0)); in AddBackendConstraintsToDnnConvCustomCall()
118 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(filter_shape, instr, 1)); in AddBackendConstraintsToDnnConvCustomCall()
120 constraints->SetBufferLayout(input_shape.layout(), *call_result_buf)); in AddBackendConstraintsToDnnConvCustomCall()
122 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(input_shape, instr, 0)); in AddBackendConstraintsToDnnConvCustomCall()
123 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(output_shape, instr, 1)); in AddBackendConstraintsToDnnConvCustomCall()
[all …]
/external/tensorflow/tensorflow/contrib/keras/api/keras/constraints/
D__init__.py22 from tensorflow.python.keras._impl.keras.constraints import Constraint
23 from tensorflow.python.keras._impl.keras.constraints import max_norm
24 from tensorflow.python.keras._impl.keras.constraints import MaxNorm
25 from tensorflow.python.keras._impl.keras.constraints import min_max_norm
26 from tensorflow.python.keras._impl.keras.constraints import MinMaxNorm
27 from tensorflow.python.keras._impl.keras.constraints import non_neg
28 from tensorflow.python.keras._impl.keras.constraints import NonNeg
29 from tensorflow.python.keras._impl.keras.constraints import unit_norm
30 from tensorflow.python.keras._impl.keras.constraints import UnitNorm
34 from tensorflow.python.keras._impl.keras.constraints import deserialize
[all …]
/external/tensorflow/tensorflow/python/keras/constraints/
D__init__.py22 from tensorflow.python.keras._impl.keras.constraints import Constraint
23 from tensorflow.python.keras._impl.keras.constraints import max_norm
24 from tensorflow.python.keras._impl.keras.constraints import MaxNorm
25 from tensorflow.python.keras._impl.keras.constraints import min_max_norm
26 from tensorflow.python.keras._impl.keras.constraints import MinMaxNorm
27 from tensorflow.python.keras._impl.keras.constraints import non_neg
28 from tensorflow.python.keras._impl.keras.constraints import NonNeg
29 from tensorflow.python.keras._impl.keras.constraints import unit_norm
30 from tensorflow.python.keras._impl.keras.constraints import UnitNorm
34 from tensorflow.python.keras._impl.keras.constraints import deserialize
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dlayout_assignment.cc458 HloComputation* computation, LayoutConstraints* constraints) { in AddMandatoryConstraints() argument
473 constraints->SetInstructionLayout(instruction->shape(), instruction)); in AddMandatoryConstraints()
477 TF_RETURN_IF_ERROR(constraints->SetOperandLayout( in AddMandatoryConstraints()
488 constraints->SetInstructionLayout(*shape_with_layout, instruction)); in AddMandatoryConstraints()
505 TF_RETURN_IF_ERROR(constraints->SetInstructionLayout( in AddMandatoryConstraints()
513 constraints->points_to_analysis().GetBufferDefinedAt(instruction, in AddMandatoryConstraints()
518 constraints->SetBufferLayout(new_shape.layout(), *buffer)); in AddMandatoryConstraints()
533 TF_RETURN_IF_ERROR(constraints->SetInstructionLayout( in AddMandatoryConstraints()
538 TF_RETURN_IF_ERROR(constraints->SetOperandLayout( in AddMandatoryConstraints()
588 TF_RETURN_IF_ERROR(constraints->SetInstructionLayout( in AddMandatoryConstraints()
[all …]
Dlayout_assignment.h300 LayoutConstraints* constraints);
303 LayoutConstraints* constraints);
306 LayoutConstraints* constraints);
330 LayoutConstraints* constraints);
337 LayoutConstraints* constraints);
360 HloComputation* computation, LayoutConstraints* constraints);
366 virtual Status AddBackendConstraints(LayoutConstraints* constraints) { in AddBackendConstraints() argument
383 Status AssignLayouts(const LayoutConstraints& constraints,
389 Status PropagateConstraints(LayoutConstraints* constraints);
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_layout_assignment.cc97 LayoutConstraints* constraints) { in AddBackendConstraints() argument
100 const HloComputation* computation = constraints->computation(); in AddBackendConstraints()
119 constraints->SetOperandLayout(input_shape, convolution, 0)); in AddBackendConstraints()
121 constraints->SetOperandLayout(filter_shape, convolution, 1)); in AddBackendConstraints()
123 constraints->SetInstructionLayout(output_shape, convolution)); in AddBackendConstraints()
127 TF_RETURN_IF_ERROR(constraints->SetOperandLayout( in AddBackendConstraints()
140 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(lhs_shape, dot, 0)); in AddBackendConstraints()
147 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(rhs_shape, dot, 1)); in AddBackendConstraints()
151 TF_RETURN_IF_ERROR(constraints->SetInstructionLayout(output_shape, dot)); in AddBackendConstraints()
156 if (constraints->OperandLayout(instruction, operand_no) != nullptr) { in AddBackendConstraints()
[all …]
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DPeerConnectionFactory.java95 MediaConstraints constraints, in createPeerConnection() argument
102 nativeFactory, rtcConfig, constraints, nativeObserver); in createPeerConnection()
111 MediaConstraints constraints, in createPeerConnection() argument
115 return createPeerConnection(rtcConfig, constraints, observer); in createPeerConnection()
124 VideoCapturer capturer, MediaConstraints constraints) { in createVideoSource() argument
126 nativeFactory, capturer.takeNativeVideoCapturer(), constraints)); in createVideoSource()
134 public AudioSource createAudioSource(MediaConstraints constraints) { in createAudioSource() argument
135 return new AudioSource(nativeCreateAudioSource(nativeFactory, constraints)); in createAudioSource()
235 MediaConstraints constraints, long nativeObserver); in nativeCreatePeerConnection() argument
242 MediaConstraints constraints); in nativeCreateVideoSource() argument
[all …]
/external/tensorflow/tensorflow/python/keras/_impl/keras/
Dconstraints_test.py44 fn = keras.constraints.get(name)
45 ref_fn = getattr(keras.constraints, name)()
47 config = keras.constraints.serialize(fn)
48 fn = keras.constraints.deserialize(config)
55 norm_instance = keras.constraints.max_norm(m)
60 norm_instance = keras.constraints.max_norm(2.0)
73 non_neg_instance = keras.constraints.non_neg()
79 unit_norm_instance = keras.constraints.unit_norm()
93 norm_instance = keras.constraints.min_max_norm(min_value=m,
/external/webrtc/talk/app/webrtc/objc/
DRTCPeerConnectionFactory.mm93 constraints:(RTCMediaConstraints *)constraints
97 constraints:constraints.constraints
103 constraints:(RTCMediaConstraints*)constraints
112 constraints:constraints.constraints];
124 constraints:(RTCMediaConstraints*)constraints {
130 constraints.constraints);
DRTCPeerConnection.mm173 constraints:(RTCMediaConstraints*)constraints {
177 self.peerConnection->CreateAnswer(observer, constraints.constraints);
181 constraints:(RTCMediaConstraints*)constraints {
185 self.peerConnection->CreateOffer(observer, constraints.constraints);
273 constraints:(const webrtc::MediaConstraintsInterface*)constraints {
280 config, constraints, nullptr, nullptr, _observer.get());
288 constraints:(const webrtc::MediaConstraintsInterface *)constraints
294 factory->CreatePeerConnection(config, constraints, nullptr, nullptr, _observer.get());
DRTCPeerConnection+Internal.h41 constraints:(const webrtc::MediaConstraintsInterface *)constraints;
45 constraints:(const webrtc::MediaConstraintsInterface *)constraints
/external/webrtc/talk/app/webrtc/objc/public/
DRTCPeerConnectionFactory.h53 constraints:(RTCMediaConstraints *)constraints
58 constraints:(RTCMediaConstraints *)constraints
67 constraints:(RTCMediaConstraints *)constraints;
/external/webrtc/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.cc74 const MediaConstraintsInterface* constraints) { in CreatePc() argument
99 config, constraints, std::move(port_allocator), in CreatePc()
154 const MediaConstraintsInterface* constraints) { in CreateOffer() argument
157 peer_connection_->CreateOffer(this, constraints); in CreateOffer()
161 const MediaConstraintsInterface* constraints) { in CreateAnswer() argument
164 peer_connection_->CreateAnswer(this, constraints); in CreateAnswer()
270 FakeConstraints constraints = audio_constraints; in GetUserMedia() local
272 constraints.AddMandatory( in GetUserMedia()
275 peer_connection_factory_->CreateAudioSource(&constraints); in GetUserMedia()
284 FakeConstraints constraints = video_constraints; in GetUserMedia() local
[all …]
/external/tensorflow/tensorflow/cc/framework/
Dcc_ops_test.cc35 std::vector<string>* constraints) { in GetColocationConstraints() argument
36 constraints->clear(); in GetColocationConstraints()
38 constraints)); in GetColocationConstraints()
170 std::vector<string> constraints; in TEST() local
171 GetColocationConstraints(c2, &constraints); in TEST()
172 EXPECT_EQ(constraints[0], "loc:@c1"); in TEST()
175 GetColocationConstraints(c3, &constraints); in TEST()
176 EXPECT_EQ(constraints[0], "loc:@c1"); in TEST()
180 GetColocationConstraints(c4, &constraints); in TEST()
181 EXPECT_EQ(constraints[0], "loc:@a"); in TEST()
[all …]
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
Dconvolutional.py25 from tensorflow.python.keras._impl.keras import constraints
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.get(kernel_constraint),
[all …]
Dnormalization.py23 from tensorflow.python.keras._impl.keras import constraints
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)
/external/webrtc/webrtc/api/objctests/
DRTCMediaConstraintsTest.mm29 RTCMediaConstraints *constraints = [[RTCMediaConstraints alloc]
33 [constraints nativeConstraints];
44 - (void)expectConstraints:(NSDictionary *)constraints
47 EXPECT_EQ(constraints.count, nativeConstraints.size());
49 for (NSString *key in constraints) {
50 NSString *value = constraints[key];
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
DSimplexTableau.java75 private final List<LinearConstraint> constraints; field in SimplexTableau
108 final Collection<LinearConstraint> constraints, in SimplexTableau() argument
112 this.constraints = normalizeConstraints(constraints); in SimplexTableau()
158 int height = constraints.size() + getNumObjectiveFunctions(); in createTableau()
181 for (int i = 0; i < constraints.size(); i++) { in createTableau()
182 LinearConstraint constraint = constraints.get(i); in createTableau()
259 for (final LinearConstraint constraint : constraints) { in getConstraintTypeCounts()
549 constraints.equals(rhs.constraints) && in equals()
564 constraints.hashCode() ^ in hashCode()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DConstraintFormulaSet.java39 List<ConstraintFormula> constraints = new LinkedList<>(constraintFormulas); in reduce() local
41 while (constraints.size() > 0) { in reduce()
42 ConstraintFormula constraintFormula = constraints.remove(0); in reduce()
44 constraints.addAll(reductionResult.getConstraintFormulas()); in reduce()
/external/proguard/src/proguard/gui/
DProGuardGUI.java175 GridBagConstraints constraints = new GridBagConstraints(); in ProGuardGUI() local
176 constraints.anchor = GridBagConstraints.WEST; in ProGuardGUI()
177 constraints.insets = new Insets(0, 4, 0, 4); in ProGuardGUI()
183 constraintsStretch.insets = constraints.insets; in ProGuardGUI()
188 constraintsLast.insets = constraints.insets; in ProGuardGUI()
195 constraintsLastStretch.insets = constraints.insets; in ProGuardGUI()
218 panelConstraints.insets = constraints.insets; in ProGuardGUI()
226 stretchPanelConstraints.insets = constraints.insets; in ProGuardGUI()
233 glueConstraints.insets = constraints.insets; in ProGuardGUI()
347 shrinkingOptionsPanel.add(tip(printUsageCheckBox, "printUsageTip"), constraints); in ProGuardGUI() local
[all …]
/external/autotest/client/site_tests/suite_HWQual/
Dcontrol.auto17 constraints=['seconds_system_resume <= 1.0'])
28 constraints=['kb_system_rom_size >= 4096',
51 constraints=[
57 constraints=['gb_main_disk_size >= 8'])
68 constraints=[

12345678910>>...15