Home
last modified time | relevance | path

Searched refs:x_data (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/
Dpooling_grad_fp32_tests.cc277 auto x_data = in TEST_F() local
279 ASSERT_NE(x_data, nullptr); in TEST_F()
282 x_tensor.set_data(x_data); in TEST_F()
315 delete[] x_data; in TEST_F()
341 auto x_data = in TEST_F() local
343 ASSERT_NE(x_data, nullptr); in TEST_F()
346 x_tensor.set_data(x_data); in TEST_F()
382 delete[] x_data; in TEST_F()
468 auto x_data = in TEST_F() local
470 ASSERT_NE(x_data, nullptr); in TEST_F()
[all …]
Dconvolution_grad_fp32_tests.cc537 auto x_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(x_path.c_str(), &x_size)); in TEST_F() local
540 x_tensor.set_data(x_data); in TEST_F()
597 delete[] x_data; in TEST_F()
/third_party/boost/libs/math/test/
Dtest_polynomial.cpp201 boost::array<T, 5> const x_data = {{105, 278, -88, -56, 16}}; in FM2GP_Ex_8_3__1() local
204 x = polynomial<T>(x_data.begin(), x_data.end()); in FM2GP_Ex_8_3__1()
219 boost::array<T, 5> const x_data = {{1, -6, -8, 6, 7}}; in FM2GP_Ex_8_3__2() local
222 x = polynomial<T>(x_data.begin(), x_data.end()); in FM2GP_Ex_8_3__2()
238 boost::array<T, 4> const x_data = {{-2.2, -3.3, 0, 1}}; in FM2GP_mixed() local
241 x = polynomial<T>(x_data.begin(), x_data.end()); in FM2GP_mixed()
257 boost::array<T, 4> const x_data = {{-2, -3, 0, 1}}; in FM2GP_trivial() local
260 x = polynomial<T>(x_data.begin(), x_data.end()); in FM2GP_trivial()
/third_party/mindspore/mindspore/nn/layer/
Dimage.py143 x_data, y_data = np.mgrid[-size // 2 + 1:size // 2 + 1, -size // 2 + 1:size // 2 + 1]
144 x_data = np.expand_dims(x_data, axis=-1).astype(np.float32)
145 x_data = np.expand_dims(x_data, axis=-1) ** 2
149 g = np.exp(-(x_data + y_data) / sigma)
/third_party/mindspore/mindspore/core/ops/
Dselect.cc33 T *x_data = reinterpret_cast<T *>(x); in SelectImpl() local
36 MS_EXCEPTION_IF_NULL(x_data); in SelectImpl()
41 result_data[i] = cond ? x_data[i] : y_data[i]; in SelectImpl()
/third_party/mindspore/tests/perf_test/mind_expression_perf/
Dprocess_data.py54 def draw_figure(x_data, y_data, labels, title, out, height=24, width=8, tick_space=2): argument
58 x = x_data[-len(y):]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dpooling_grad_gpu_kernel.h70 T *x_data = GetDeviceAddress<T>(inputs, 0); in Launch() local
80 x_descriptor_, x_data, &beta, dx_descriptor_, dx), in Launch()
/third_party/python/Objects/
Dunicodeobject.c13760 const void *x_data, *y_data, *z_data; in unicode_maketrans_impl() local
13776 x_data = PyUnicode_DATA(x); in unicode_maketrans_impl()
13779 key = PyLong_FromLong(PyUnicode_READ(x_kind, x_data, i)); in unicode_maketrans_impl()