Searched refs:constraints (Results 26 - 50 of 171) sorted by relevance

1234567

/external/webrtc/talk/app/webrtc/objc/public/
H A DRTCPeerConnection.h82 constraints:(RTCMediaConstraints *)constraints;
87 constraints:(RTCMediaConstraints *)constraints;
/external/webrtc/talk/app/webrtc/test/
H A Dpeerconnectiontestwrapper.cc74 const MediaConstraintsInterface* constraints) {
99 config, constraints, std::move(port_allocator),
154 const MediaConstraintsInterface* constraints) {
157 peer_connection_->CreateOffer(this, constraints);
161 const MediaConstraintsInterface* constraints) {
164 peer_connection_->CreateAnswer(this, constraints);
270 FakeConstraints constraints = audio_constraints; local
272 constraints.AddMandatory(
275 peer_connection_factory_->CreateAudioSource(&constraints);
284 FakeConstraints constraints local
73 CreatePc( const MediaConstraintsInterface* constraints) argument
153 CreateOffer( const MediaConstraintsInterface* constraints) argument
160 CreateAnswer( const MediaConstraintsInterface* constraints) argument
[all...]
H A Dpeerconnectiontestwrapper.h48 bool CreatePc(const webrtc::MediaConstraintsInterface* constraints);
74 void CreateOffer(const webrtc::MediaConstraintsInterface* constraints);
75 void CreateAnswer(const webrtc::MediaConstraintsInterface* constraints);
/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 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...]
H A Dlocal_test.py75 k_constraint = keras.constraints.max_norm(0.01)
76 b_constraint = keras.constraints.max_norm(0.01)
155 k_constraint = keras.constraints.max_norm(0.01)
156 b_constraint = keras.constraints.max_norm(0.01)
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)
/external/webrtc/talk/app/webrtc/objc/
H A 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 {
[all...]
/external/webrtc/talk/app/webrtc/
H A Dpeerconnectioninterface_unittest.cc537 void CreatePeerConnection(webrtc::MediaConstraintsInterface* constraints) { argument
538 CreatePeerConnection("", "", constraints);
543 webrtc::MediaConstraintsInterface* constraints) {
560 if (!constraints) {
561 constraints = &default_constraints;
569 if (FindConstraint(constraints,
576 config, constraints, std::move(port_allocator),
669 MediaConstraintsInterface* constraints) {
674 pc_->CreateOffer(observer, constraints);
676 pc_->CreateAnswer(observer, constraints);
541 CreatePeerConnection(const std::string& uri, const std::string& password, webrtc::MediaConstraintsInterface* constraints) argument
667 DoCreateOfferAnswer(SessionDescriptionInterface** desc, bool offer, MediaConstraintsInterface* constraints) argument
683 DoCreateOffer(SessionDescriptionInterface** desc, MediaConstraintsInterface* constraints) argument
688 DoCreateAnswer(SessionDescriptionInterface** desc, MediaConstraintsInterface* constraints) argument
1267 FakeConstraints constraints; local
1314 FakeConstraints constraints; local
1344 FakeConstraints constraints; local
1366 FakeConstraints constraints; local
1407 FakeConstraints constraints; local
1421 FakeConstraints constraints; local
1438 FakeConstraints constraints; local
1476 FakeConstraints constraints; local
1494 FakeConstraints constraints; local
1521 FakeConstraints constraints; local
1539 FakeConstraints constraints; local
1555 FakeConstraints constraints; local
1580 FakeConstraints constraints; local
1608 FakeConstraints constraints; local
1662 FakeConstraints constraints; local
1693 FakeConstraints constraints; local
1831 FakeConstraints constraints; local
1856 FakeConstraints constraints; local
1884 FakeConstraints constraints; local
1930 FakeConstraints constraints; local
1957 FakeConstraints constraints; local
1975 FakeConstraints constraints; local
2000 FakeConstraints constraints; local
2017 FakeConstraints constraints; local
2036 FakeConstraints constraints; local
2051 FakeConstraints constraints; local
2063 FakeConstraints constraints; local
2084 FakeConstraints constraints; local
2102 FakeConstraints constraints; local
2141 FakeConstraints constraints; local
2170 FakeConstraints constraints; local
2216 FakeConstraints constraints; local
[all...]
H A Dvideosource.h44 // that honors the constraints.
64 // |constraints| can be NULL and in that case the camera is opened using a
69 const webrtc::MediaConstraintsInterface* constraints,
95 void Initialize(const webrtc::MediaConstraintsInterface* constraints);
H A Dpeerconnectionfactory.h60 const MediaConstraintsInterface* constraints,
71 const MediaConstraintsInterface* constraints) override;
75 const MediaConstraintsInterface* constraints) override;
H A Dpeerconnectionfactory.cc211 const MediaConstraintsInterface* constraints) {
214 LocalAudioSource::Create(options_, constraints));
221 const MediaConstraintsInterface* constraints) {
224 channel_manager_.get(), capturer, constraints, false));
251 const MediaConstraintsInterface* constraints,
273 if (!pc->Initialize(configuration, constraints, std::move(allocator),
210 CreateAudioSource( const MediaConstraintsInterface* constraints) argument
219 CreateVideoSource( cricket::VideoCapturer* capturer, const MediaConstraintsInterface* constraints) argument
249 CreatePeerConnection( const PeerConnectionInterface::RTCConfiguration& configuration, const MediaConstraintsInterface* constraints, rtc::scoped_ptr<cricket::PortAllocator> allocator, rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, PeerConnectionObserver* observer) argument
H A Dvideosource.cc106 // Fills |format_out| with the max width and height allowed by |constraints|.
108 const MediaConstraintsInterface::Constraints& constraints,
114 for (ConstraintsIterator constraints_it = constraints.begin();
115 constraints_it != constraints.end(); ++constraints_it)
181 // These are actually options, not constraints, so they can be satisfied
209 // Returns a vector of cricket::VideoFormat that best match |constraints|.
226 // Let's try filtering using the optional constraints.
268 // Set |option| to the highest-priority value of |key| in the constraints.
332 const webrtc::MediaConstraintsInterface* constraints,
338 source->Initialize(constraints);
107 FromConstraintsForScreencast( const MediaConstraintsInterface::Constraints& constraints, cricket::VideoFormat* format_out) argument
329 Create( cricket::ChannelManager* channel_manager, cricket::VideoCapturer* capturer, const webrtc::MediaConstraintsInterface* constraints, bool remote) argument
358 Initialize( const webrtc::MediaConstraintsInterface* constraints) argument
[all...]
/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.cc187 // The points to analysis is computed per module, restrict constraints to
458 HloComputation* computation, LayoutConstraints* constraints) {
459 VLOG(3) << "Adding mandatory layout constraints to computation "
473 constraints->SetInstructionLayout(instruction->shape(), instruction));
477 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(
488 constraints->SetInstructionLayout(*shape_with_layout, instruction));
505 TF_RETURN_IF_ERROR(constraints->SetInstructionLayout(
513 constraints->points_to_analysis().GetBufferDefinedAt(instruction,
518 constraints->SetBufferLayout(new_shape.layout(), *buffer));
526 // constraints becaus
455 AddMandatoryConstraints( const ComputationLayout& computation_layout, const ChannelLayoutConstraints* channel_constraints, HloComputation* computation, LayoutConstraints* constraints) argument
1040 PropagateConstraints(LayoutConstraints* constraints) argument
1120 PropagateUseConstraintToDefs( const ShapeLayout& shape_layout, const HloInstruction* instruction, LayoutConstraints* constraints) argument
[all...]
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...]
/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/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
H A DSimplexTableau.java74 /** Linear constraints. */
75 private final List<LinearConstraint> constraints; field in class:SimplexTableau
101 * @param constraints linear constraints
108 final Collection<LinearConstraint> constraints,
112 this.constraints = normalizeConstraints(constraints);
158 int height = constraints.size() + getNumObjectiveFunctions();
181 for (int i = 0; i < constraints.size(); i++) {
182 LinearConstraint constraint = constraints
107 SimplexTableau(final LinearObjectiveFunction f, final Collection<LinearConstraint> constraints, final GoalType goalType, final boolean restrictToNonNegative, final double epsilon) argument
[all...]
/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/webrtc/webrtc/api/objc/
H A DRTCMediaConstraints+Private.h46 /** Return a native Constraints object representing these constraints */
49 (NSDictionary<NSString *, NSString *> *)constraints;
/external/webrtc/talk/app/webrtc/objctests/
H A DRTCPeerConnectionTest.mm112 RTCMediaConstraints* constraints = [[RTCMediaConstraints alloc] init];
121 constraints:pcConstraints
129 constraints:pcConstraints
134 [factory videoSourceWithCapturer:capturer constraints:constraints];
155 [pcOffer createOfferWithDelegate:sdpObserver constraints:constraints];
178 [pcAnswer createAnswerWithDelegate:sdpObserver constraints:constraints];
/external/proguard/src/proguard/gui/
H A DProGuardGUI.java174 // Create some constraints that can be reused.
175 GridBagConstraints constraints = new GridBagConstraints();
176 constraints.anchor = GridBagConstraints.WEST;
177 constraints.insets = new Insets(0, 4, 0, 4);
183 constraintsStretch.insets = constraints.insets;
188 constraintsLast.insets = constraints.insets;
195 constraintsLastStretch.insets = constraints.insets;
203 //splashPanelConstraints.insets = constraints.insets;
218 panelConstraints.insets = constraints.insets;
226 stretchPanelConstraints.insets = constraints
[all...]
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
H A DARDAppClient.m449 RTCMediaConstraints *constraints = [self defaultAnswerConstraints];
451 constraints:constraints];
475 RTCMediaConstraints *constraints = [self defaultPeerConnectionConstraints];
479 constraints:constraints
487 constraints:[self defaultOfferConstraints]];
594 constraints:mediaConstraints];
631 RTCMediaConstraints* constraints =
635 return constraints;
[all...]

Completed in 516 milliseconds

1234567