Home
last modified time | relevance | path

Searched refs:npd (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/ut/python/ir/
Dtest_tensor_py.py97 npd = np.ones((2, 3))
98 a = ms.Tensor(npd)
100 assert a.asnumpy().all() == npd.all()
104 npd = np.ones((2, 3))
106 assert a.asnumpy().all() == npd.all()
/third_party/mindspore/tests/ut/python/pipeline/parse/
Dtest_parse.py72 npd = np.array([[1.2, 2.1], [2.2, 3.2]]).astype('float32')
73 log.debug("input value is: %r", npd)
74 input_data = ms.Tensor(npd)
100 npd = np.array([[1.2, 2.1], [2.2, 3.2]]).astype('float32')
101 log.debug("input value is: %r", npd)
102 input_data = ms.Tensor(npd)
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-anc.c1168 gint opn, opd, npn, npd; in gst_video_afd_meta_transform() local
1177 npd = GST_VIDEO_INFO_PAR_D (trans->out_info); in gst_video_afd_meta_transform()
1185 ((gdouble) nw / (gdouble) nh) * ((gdouble) npn / (gdouble) npd)); in gst_video_afd_meta_transform()