Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ops/_op_impl/_custom_op/
Dbatch_matmul_impl.py214 res_shape = _get_flattern_shape(output_shape)
215 res = tik_instance.Tensor(dtype, res_shape, name="res", scope=tik.scope_gm)
/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.cc558 auto res_shape = ShapeJoin(shape(), other_undetermined_tensor->shape()); in Join() local
559 if (res_shape == nullptr) { in Join()
565 return std::make_shared<AbstractUndetermined>(element, res_shape); in Join()
577 auto res_shape = ShapeJoin(this->shape(), other_tensor->shape()); in Join() local
578 if (res_shape == nullptr) { in Join()
584 return std::make_shared<AbstractTensor>(element, res_shape); in Join()
/third_party/mindspore/mindspore/ops/composite/multitype_ops/
D_compile_utils.py385 res_shape = broadcast_shape
387 res_shape += data_shape[tuple_index_len:]
388 res = const_utils.make_tensor([], data.dtype, res_shape)