Home
last modified time | relevance | path

Searched refs:p_value (Results 1 – 23 of 23) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dtranspose.cc34 ShapeVector p_value; in InferShape() local
40 …oid)std::transform(std::begin(perm_val_data), std::end(perm_val_data), std::back_inserter(p_value), in InferShape()
46 p_value = CheckAndConvertUtils::CheckTensorIntValue("perm value", perm_value, op_name); in InferShape()
48 p_value = CheckAndConvertUtils::CheckAttrTupleInt("perm value", perm_value, op_name); in InferShape()
51 if (x_shape.size() != p_value.size()) { in InferShape()
52 …MS_EXCEPTION(ValueError) << "The dimension of x " << x_shape.size() << " and perm " << p_value.siz… in InferShape()
55 for (auto i : p_value) { in InferShape()
57 …(void)CheckAndConvertUtils::CheckInteger("perm element", i, kLessThan, SizeToLong(p_value.size()),… in InferShape()
59 std::vector<int64_t> tmp(p_value); in InferShape()
69 std::vector<int64_t> in_shape(p_value); in InferShape()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dchi_square.cc112 const double p_value = 1.0 - p; in ChiSquareValue() local
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
123 const double z = InverseNormalSurvival(p_value); in ChiSquareValue()
132 if (p_value <= 0.0) return kChiMax; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
/third_party/abseil-cpp/absl/random/internal/
Dchi_square.cc112 const double p_value = 1.0 - p; in ChiSquareValue() local
113 if (dof < 1 || p_value > 1.0) { in ChiSquareValue()
123 const double z = InverseNormalSurvival(p_value); in ChiSquareValue()
132 if (p_value <= 0.0) return kChiMax; in ChiSquareValue()
137 double current = dof / std::sqrt(p_value); in ChiSquareValue()
139 if (ChiSquarePValue(current, dof) < p_value) { in ChiSquareValue()
/third_party/boost/boost/test/utils/runtime/
Dargument.hpp64 , p_value( v ) in typed_argument()
67 unit_test::readwrite_property<T> p_value; member in boost::runtime::typed_argument
111 return static_cast<typed_argument<T>&>( *arg ).p_value.value; in get()
/third_party/ffmpeg/libavutil/tests/
Dlfg.c121 double Z, p_value = -1, tot_samp = 1000; in main() local
164 p_value = flag ? 1 - Z_TABLE[x][y] : Z_TABLE[x][y]; in main()
186 samp_mean, mean, samp_stddev, stddev, Z, p_value, QH); in main()
/third_party/boost/boost/spirit/home/x3/support/traits/
Dis_substitute.hpp115 typedef typename mpl::at_c<T, 1>::type p_value; typedef
141 , has_kv_in_map<mpl::_1, p_value, Attribute>>>
149 , has_kv_in_map<p_key, p_value, Attribute>
/third_party/glib/gio/
Dgregistrysettingsbackend.c779 RegistryValue *p_value) in registry_read() argument
786 g_return_val_if_fail (p_value != NULL, FALSE); in registry_read()
788 p_value->type = REG_NONE; in registry_read()
789 p_value->ptr = NULL; in registry_read()
793 result = RegQueryValueExW (hpath, value_namew, 0, &p_value->type, NULL, &value_data_size); in registry_read()
801 if (p_value->type == REG_SZ && value_data_size == 0) in registry_read()
803 p_value->ptr = g_strdup (""); in registry_read()
808 if (p_value->type == REG_DWORD) in registry_read()
810 buffer = (void *)&p_value->dword; in registry_read()
812 buffer = p_value->ptr = g_malloc (value_data_size); in registry_read()
[all …]
/third_party/python/Python/
Derrors.c431 _PyErr_Fetch(PyThreadState *tstate, PyObject **p_type, PyObject **p_value, in _PyErr_Fetch() argument
435 *p_value = tstate->curexc_value; in _PyErr_Fetch()
445 PyErr_Fetch(PyObject **p_type, PyObject **p_value, PyObject **p_traceback) in PyErr_Fetch() argument
448 _PyErr_Fetch(tstate, p_type, p_value, p_traceback); in PyErr_Fetch()
469 PyObject **p_type, PyObject **p_value, PyObject **p_traceback) in _PyErr_GetExcInfo() argument
473 *p_value = exc_info->exc_value; in _PyErr_GetExcInfo()
477 Py_XINCREF(*p_value); in _PyErr_GetExcInfo()
483 PyErr_GetExcInfo(PyObject **p_type, PyObject **p_value, PyObject **p_traceback) in PyErr_GetExcInfo() argument
486 _PyErr_GetExcInfo(tstate, p_type, p_value, p_traceback); in PyErr_GetExcInfo()
490 PyErr_SetExcInfo(PyObject *p_type, PyObject *p_value, PyObject *p_traceback) in PyErr_SetExcInfo() argument
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc186 double p_value = in TEST() local
194 absl::StrAppend(&msg, kChiSquared, " p-value ", p_value, "\n"); in TEST()
Dlog_uniform_int_distribution_test.cc203 double p_value = ChiSquaredTestImpl(); in TEST_P() local
204 if (p_value < 0.005) { in TEST_P()
Duniform_int_distribution_test.cc201 double p_value = in TYPED_TEST() local
209 absl::StrAppend(&msg, kChiSquared, " p-value ", p_value, "\n"); in TYPED_TEST()
Duniform_real_distribution_test.cc282 double p_value = in TYPED_TEST() local
290 absl::StrAppend(&msg, kChiSquared, " p-value ", p_value, "\n"); in TYPED_TEST()
Dexponential_distribution_test.cc313 double p_value = in TEST_P() local
315 if (p_value < 0.005) { // 1/200 in TEST_P()
Dgaussian_distribution_test.cc337 double p_value = in TEST_P() local
339 if (p_value < 0.0025) { // 1/400 in TEST_P()
Dpoisson_distribution_test.cc469 double p_value = ChiSquaredTestImpl<absl::poisson_distribution<int32_t>>(); in TEST_P() local
470 if (p_value < 0.005) { in TEST_P()
/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc185 double p_value = in TEST() local
193 absl::StrAppend(&msg, kChiSquared, " p-value ", p_value, "\n"); in TEST()
Dlog_uniform_int_distribution_test.cc203 double p_value = ChiSquaredTestImpl(); in TEST_P() local
204 if (p_value < 0.005) { in TEST_P()
Duniform_int_distribution_test.cc201 double p_value = in TYPED_TEST() local
209 absl::StrAppend(&msg, kChiSquared, " p-value ", p_value, "\n"); in TYPED_TEST()
Duniform_real_distribution_test.cc267 double p_value = in TYPED_TEST() local
275 absl::StrAppend(&msg, kChiSquared, " p-value ", p_value, "\n"); in TYPED_TEST()
Dexponential_distribution_test.cc324 double p_value = in TEST_P() local
326 if (p_value < 0.005) { // 1/200 in TEST_P()
Dpoisson_distribution_test.cc469 double p_value = ChiSquaredTestImpl<absl::poisson_distribution<int32_t>>(); in TEST_P() local
470 if (p_value < 0.005) { in TEST_P()
Dgaussian_distribution_test.cc353 double p_value = in TEST_P() local
355 if (p_value < 0.0025) { // 1/400 in TEST_P()
/third_party/boost/libs/math/reporting/performance/
Dtest_distributions.cpp99 …void run_timed_tests(F f, std::string sub_name, std::string column, bool p_value = false, int wher… in run_timed_tests() argument
117 sum += f(tests[i].params, p_value ? quantiles[j] : tests[i].x_values[j]); in run_timed_tests()