Home
last modified time | relevance | path

Searched refs:is_positive (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dgumbel.py122 is_positive = check_ops.assert_non_negative(
128 return control_flow_ops.with_dependencies([is_positive, less_than_one], y)
Dweibull.py146 is_positive = check_ops.assert_non_negative(
151 return control_flow_ops.with_dependencies([is_positive, less_than_one], y)
/external/tensorflow/tensorflow/python/ops/
Dmath_grad.py285 is_positive=None): argument
295 if is_positive is None:
296 is_positive = math_ops.greater_equal(ids, 0)
300 for _ in range(gathered.shape.ndims - is_positive.shape.ndims):
301 is_positive = array_ops.expand_dims(is_positive, -1)
302 is_positive = (is_positive &
306 return (array_ops.where(is_positive, gathered, zero_slice),
307 zero_clipped_indices, is_positive)
313 gathered_outputs, zero_clipped_indices, is_positive = \
316 is_selected = math_ops.logical_and(is_selected, is_positive)
[all …]
/external/v8/src/builtins/
Ddata-view.tq233 macro CreateEmptyBigInt(is_positive: bool, length: constexpr int31): BigInt {
238 if (is_positive) {
258 let is_positive: bool = true;
265 is_positive = false;
272 let result: BigInt = CreateEmptyBigInt(is_positive, kOneDigitBigInt);
290 let is_positive: bool = true;
305 is_positive = false;
336 result = CreateEmptyBigInt(is_positive, kTwoDigitBigInt);
338 result = CreateEmptyBigInt(is_positive, kOneDigitBigInt);
/external/v8/src/regexp/
Dregexp-ast.h507 RegExpLookaround(RegExpTree* body, bool is_positive, int capture_count, in RegExpLookaround() argument
510 is_positive_(is_positive), in RegExpLookaround()
524 bool is_positive() { return is_positive_; } in is_positive() function
531 Builder(bool is_positive, RegExpNode* on_success,
Dregexp-ast.cc124 return is_positive() && type() == LOOKAHEAD && body()->IsAnchoredAtStart(); in IsAnchoredAtStart()
277 os_ << (that->is_positive() ? " + " : " - "); in VisitLookaround()
Dregexp-parser.cc229 bool is_positive = (group_type == POSITIVE_LOOKAROUND); in ParseDisjunction() local
231 body, is_positive, end_capture_index - capture_index, in ParseDisjunction()
Djsregexp.cc5691 RegExpLookaround::Builder::Builder(bool is_positive, RegExpNode* on_success, in Builder() argument
5696 : is_positive_(is_positive), in Builder()
5746 Builder builder(is_positive(), on_success, stack_pointer_register, in ToNode()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dmtb.py959 is_positive = level_jumps[0] > 0
964 if (jump > 0) is is_positive:
971 is_positive = not is_positive
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc1196 Matcher<int> is_positive = Gt(0); in TEST() local
1199 EXPECT_THAT(p, Key(is_positive)); in TEST()
1312 Matcher<int> is_positive = Gt(0); in TEST() local
1315 EXPECT_THAT(p, Pair(is_positive, _)); in TEST()
1317 EXPECT_THAT(p, Pair(_, is_positive)); in TEST()
/external/tensorflow/tensorflow/python/kernel_tests/
Dmetrics_test.py1344 is_positive = labels > 0
1345 num_positives = np.sum(weights[is_positive])
1346 num_negatives = np.sum(weights[~is_positive])
1353 is_positive = sorted_labels > 0
1355 tp = np.cumsum(sorted_weights * is_positive) / num_positives
1356 return np.sum((sorted_weights * tp)[~is_positive]) / num_negatives
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc1541 Matcher<int> is_positive = Gt(0); in TEST() local
1544 EXPECT_THAT(p, Key(is_positive)); in TEST()
1663 Matcher<int> is_positive = Gt(0); in TEST() local
1666 EXPECT_THAT(p, Pair(is_positive, _)); in TEST()
1668 EXPECT_THAT(p, Pair(_, is_positive)); in TEST()
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dmetric_ops_test.py1669 is_positive = labels > 0
1670 num_positives = np.sum(weights[is_positive])
1671 num_negatives = np.sum(weights[~is_positive])
1678 is_positive = sorted_labels > 0
1680 tp = np.cumsum(sorted_weights * is_positive) / num_positives
1681 return np.sum((sorted_weights * tp)[~is_positive]) / num_negatives
/external/v8/src/compiler/
Djs-call-reducer.cc7223 Node* is_positive = graph()->NewNode(simplified()->NumberLessThanOrEqual(), in ReduceRegExpPrototypeTest() local
7228 is_positive, effect, control); in ReduceRegExpPrototypeTest()