Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dgumbel.py118 is_positive = check_ops.assert_non_negative(
124 return control_flow_ops.with_dependencies([is_positive, less_than_one], y)
Dweibull.py144 is_positive = check_ops.assert_non_negative(
149 return control_flow_ops.with_dependencies([is_positive, less_than_one], y)
Dcholesky_outer_product.py166 is_positive = check_ops.assert_positive(
168 x = control_flow_ops.with_dependencies([is_positive], x)
/external/tensorflow/tensorflow/python/ops/
Dmath_grad.py259 is_positive=None): argument
269 if is_positive is None:
270 is_positive = math_ops.greater_equal(ids, 0)
274 for _ in range(gathered.shape.ndims - is_positive.shape.ndims):
275 is_positive = array_ops.expand_dims(is_positive, -1)
276 is_positive = (is_positive &
280 return (array_ops.where(is_positive, gathered, zero_slice),
281 zero_clipped_indices, is_positive)
287 gathered_outputs, zero_clipped_indices, is_positive = \
290 is_selected = math_ops.logical_and(is_selected, is_positive)
[all …]
/external/v8/src/regexp/
Dregexp-ast.h468 RegExpLookaround(RegExpTree* body, bool is_positive, int capture_count, in RegExpLookaround() argument
471 is_positive_(is_positive), in RegExpLookaround()
485 bool is_positive() { return is_positive_; } in is_positive() function
492 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.cc224 bool is_positive = (group_type == POSITIVE_LOOKAROUND); in ParseDisjunction() local
226 body, is_positive, end_capture_index - capture_index, in ParseDisjunction()
Djsregexp.cc5692 RegExpLookaround::Builder::Builder(bool is_positive, RegExpNode* on_success, in Builder() argument
5697 : is_positive_(is_positive), in Builder()
5747 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.py1205 is_positive = labels > 0
1206 num_positives = np.sum(weights[is_positive])
1207 num_negatives = np.sum(weights[~is_positive])
1214 is_positive = sorted_labels > 0
1216 tp = np.cumsum(sorted_weights * is_positive) / num_positives
1217 return np.sum((sorted_weights * tp)[~is_positive]) / num_negatives
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc3219 Label is_positive; in EmitIntegerMathAbs() local
3220 __ j(not_sign, &is_positive, Label::kNear); in EmitIntegerMathAbs()
3223 __ bind(&is_positive); in EmitIntegerMathAbs()
3230 Label is_positive; in EmitSmiMathAbs() local
3231 __ j(not_sign, &is_positive, Label::kNear); in EmitSmiMathAbs()
3234 __ bind(&is_positive); in EmitSmiMathAbs()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc1329 Matcher<int> is_positive = Gt(0); in TEST() local
1332 EXPECT_THAT(p, Key(is_positive)); in TEST()
1445 Matcher<int> is_positive = Gt(0); in TEST() local
1448 EXPECT_THAT(p, Pair(is_positive, _)); in TEST()
1450 EXPECT_THAT(p, Pair(_, is_positive)); in TEST()
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc1320 Matcher<int> is_positive = Gt(0); in TEST() local
1323 EXPECT_THAT(p, Key(is_positive)); in TEST()
1436 Matcher<int> is_positive = Gt(0); in TEST() local
1439 EXPECT_THAT(p, Pair(is_positive, _)); in TEST()
1441 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/crankshaft/ia32/
Dlithium-codegen-ia32.cc3026 Label is_positive; in EmitIntegerMathAbs() local
3027 __ j(not_sign, &is_positive, Label::kNear); in EmitIntegerMathAbs()
3030 __ bind(&is_positive); in EmitIntegerMathAbs()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc3310 Label is_positive; in EmitIntegerMathAbs() local
3311 __ j(not_sign, &is_positive, Label::kNear); in EmitIntegerMathAbs()
3314 __ bind(&is_positive); in EmitIntegerMathAbs()