Home
last modified time | relevance | path

Searched refs:tensor_shp (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Ddropout_unify_mindir.cc132 ShapeVector tensor_shp({static_cast<int64_t>(input_shape->shape().size())}); in CreateDynamicShapeCNode() local
134 … std::make_shared<abstract::AbstractTensor>(kInt64, std::make_shared<abstract::Shape>(tensor_shp)); in CreateDynamicShapeCNode()
/third_party/mindspore/mindspore/core/abstract/
Dprim_arrays.cc707 ShapeVector tensor_shp({static_cast<int64_t>(shape.size())}); in InferImplDynamicShape() local
712 auto tensor = std::make_shared<AbstractTensor>(elem, std::make_shared<Shape>(tensor_shp)); in InferImplDynamicShape()
717 …auto tensor = std::make_shared<tensor::Tensor>(kNumberTypeInt64, tensor_shp, shape.data(), shp_buf… in InferImplDynamicShape()