Searched refs:linspace (Results 1 – 13 of 13) sorted by relevance
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_lin_space.py | 49 result_np = np.linspace(start_np, stop_np, num_np) 66 result_np = np.linspace(start_np, stop_np, num_np) 82 result_np = np.linspace(start_np, stop_np, num_np) 98 result_np = np.linspace(start_np, stop_np, num_np)
|
D | test_sampled_softmax_loss_op.py | 25 weights_s = np.linspace(start=1, stop=num_classes * dim, num=num_classes * dim) 27 biases_s = np.linspace(start=1, stop=num_classes, num=num_classes) 29 hidden_acts_s = np.linspace(start=1, stop=batch_size * dim, num=batch_size * dim)
|
/third_party/mindspore/tests/st/numpy_native/ |
D | test_array_creations.py | 335 actual = onp.linspace(2.0, 3.0, dtype=onp.float32) 336 expected = mnp.linspace(2.0, 3.0).asnumpy() 339 actual = onp.linspace(2.0, 3.0, num=5, dtype=onp.float32) 340 expected = mnp.linspace(2.0, 3.0, num=5).asnumpy() 343 actual = onp.linspace( 345 expected = mnp.linspace(2.0, 3.0, num=5, endpoint=False).asnumpy() 348 actual = onp.linspace(2.0, 3.0, num=5, retstep=True, dtype=onp.float32) 349 expected = mnp.linspace(2.0, 3.0, num=5, retstep=True) 353 actual = onp.linspace(2.0, [3, 4, 5], num=5, 355 expected = mnp.linspace( [all …]
|
D | test_math_ops.py | 2501 …x = onp.linspace(onp.linspace((0, 1), (10, 15), 5), onp.linspace((0, 2), (3*onp.pi, 7*onp.pi), 5),…
|
/third_party/mindspore/mindspore/compression/quant/ |
D | quant_utils.py | 261 fwd_x = np.linspace(0.0, 1.0, bit_pow_range) 262 fwd_xp = np.linspace(0.0, 1.0, i) 266 bwd_x = np.linspace(0.0, 1.0, i) 267 bwd_xp = np.linspace(0.0, 1.0, bit_pow_range)
|
/third_party/boost/libs/numeric/odeint/test_external/nt2/ |
D | copy.cpp | 34 nt2::table<T> x = nt2::linspace(T(1),T(0),7); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/third_party/boost/libs/python/example/numpy/ |
D | demo_gaussian.py | 16 r = numpy.linspace(-40, 40, 1001)
|
/third_party/mindspore/tests/ut/python/pipeline/parse/ |
D | test_parse_numpy.py | 44 ret = np.linspace(1, 10, 4)
|
/third_party/mindspore/mindspore/numpy/ |
D | array_creations.py | 477 def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, axis=0): function 595 … linspace_res = linspace(start, stop, num, endpoint=endpoint, retstep=False, dtype=None, axis=axis) 646 exponents = linspace(zeros(F.shape(bases)), F.fill(F.dtype(bases), F.shape(bases), root), 1343 v = linspace(k.start, k.stop, int(abs(step))) 2121 return linspace(start, end, bins + 1) 2222 pad_before = (linspace(end_values[i][0], left_value, num=pad_width[i][0], 2225 pad_after = linspace(right_value, end_values[i][1], num=pad_width[i][1]+1,
|
D | __init__.py | 38 linspace, logspace, eye, identity, empty, empty_like,
|
/third_party/mindspore/mindspore/train/summary/ |
D | _summary_adapter.py | 330 bins = np.linspace(first_edge, last_edge, bins + 1, dtype=np_value.dtype)
|
/third_party/mindspore/ |
D | RELEASE.md | 2046 >>> linspace = nn.LinSpace(start, stop, num) 2047 >>> output = linspace() 2058 >>> linspace = ops.LinSpace() 2062 >>> output = linspace(start, stop, num)
|
/third_party/python/Doc/library/ |
D | stdtypes.rst | 1418 * The `linspace recipe <http://code.activestate.com/recipes/579000/>`_
|