Home
last modified time | relevance | path

Searched defs:element_shape (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dtensor_array.cc35 …rray::Init(bool dynamic_size, bool identical_element_shapes, const std::vector<int> &element_shape, in Init()
51 void TensorArray::set_element_shape(const std::vector<int> &element_shape) { in set_element_shape()
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/operations/
D_tensor_array.py56 def __init__(self, dtype, element_shape, dynamic_size=True, size=0, name="TA"): argument
147 def __init__(self, dtype, element_shape): argument
270 def __init__(self, dtype, element_shape, dynamic_size, size): argument
345 def __init__(self, dtype, element_shape): argument
/third_party/mindspore/mindspore-src/source/tests/st/graph_syntax/
Dtest_expr_clear.py35 def __init__(self, dtype, element_shape): argument
/third_party/mindspore/mindspore-src/source/tests/st/ops/gpu/
Dtest_tensor_array.py24 def __init__(self, dtype, element_shape, is_dynamic_shape=True, size=0): argument
/third_party/mindspore/mindspore-src/source/tests/st/ops/cpu/
Dtest_tensor_array.py24 def __init__(self, dtype, element_shape, is_dynamic_shape=True, size=0): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/infer/control/
Dtensorlist_getitem_infer.c70 int element_shape[MAX_SHAPE_SIZE] = {0}; in TensorListGetItemInferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/
Dtensorlist_c_utils.c50 int TensorListMergeShape(int *element_shape, size_t *element_shape_size, const int *tmp, size_t tmp… in TensorListMergeShape()
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/reinforcement/
Dtensor_array.py61 def __init__(self, dtype, element_shape, dynamic_size=True, size=0, name="TA"): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/kernel/cpu/control/
Dtensor_array.cc46 int *element_shape = this->ta_param_->element_shape_; in Prepare() local
/third_party/mindspore/mindspore-src/source/mindspore/core/abstract/
Ddshape.h255 …explicit DynamicSequenceShape(const BaseShapePtr &element_shape) : element_shape_(element_shape) {} in DynamicSequenceShape()
297 BaseShapePtr element_shape() { return element_shape_; } in element_shape() function
Dabstract_value.cc1144 BaseShapePtr element_shape = element->GetShape(); in ElementsShape() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dunstack_ext.cc62 ShapeVector element_shape; in InferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_frontend_func_impl/
Dunstack_ext.cc34 ShapeVector element_shape; in InferOutputForRankKnown() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/common/
Dfallback.cc112 auto element_shape = (*shape_seq)[it]; in GenerateAbstractSequence() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/
Dtensorlist.h84 std::vector<int> element_shape() const { in element_shape() function
Dtensorlist.cc29 TensorList::TensorList(std::vector<int> shape, std::vector<int> element_shape, Category category) in TensorList()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/graph/
Dadd_tensor_array.cc177 std::vector<int> element_shape; in Process() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/kernels/data/
Ddata_utils.cc749 TensorShape element_shape(std::vector<int64_t>(tensor_shape.begin() + 1, tensor_shape.end())); in BatchTensorToCVTensorVector() local
775 TensorShape element_shape(std::vector<int64_t>(tensor_shape.begin() + 1, tensor_shape.end())); in BatchTensorToTensorVector() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/kernel/
Dkernel.cc233 const auto &element_shape = shapes[0]; in SetShape() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/utils/
Dconvert_utils.cc655 const auto &element_shape = element_base_shape->cast<abstract::ShapePtr>(); in BaseShapeToShapeVector() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/legacy_optimizer/graph/
Dinfershape_pass.cc95 std::vector<int> element_shape; in ConvertTensorList() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/session/
Danf_runtime_algorithm.cc2280 const auto &element_shape = std::make_shared<abstract::Shape>(ShapeVector({})); in SequenceToTensor() local