Searched refs:atleast_1d (Results 1 – 5 of 5) sorted by relevance
/third_party/mindspore/mindspore/numpy/ |
D | __init__.py | 30 ravel, concatenate, where, atleast_1d, atleast_2d, atleast_3d,
|
D | array_ops.py | 746 def atleast_1d(*arys): function 2328 return atleast_1d(_to_tensor(arrs))
|
D | math_ops.py | 35 from .array_ops import ravel, expand_dims, moveaxis, concatenate, flip, stack, atleast_1d, \ 5029 x = atleast_1d(_to_tensor(x)) 5243 k = atleast_1d(_to_tensor(k))
|
/third_party/mindspore/mindspore/train/callback/ |
D | _summary_collector.py | 700 loss = float(np.atleast_1d(loss_numpy)[0]) 709 … train_lineage[LineageMetadata.learning_rate] = list(np.atleast_1d(learning_rate.asnumpy()))[0]
|
/third_party/mindspore/tests/st/numpy_native/ |
D | test_array_ops.py | 551 return mnp.atleast_1d(*arys) 555 return onp.atleast_1d(*arys)
|