Home
last modified time | relevance | path

Searched defs:block_shape (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dbatch_to_space_nd_tests.cc26 OpParameter *CreateParameter(int block_shape[], int crops[], const std::vector<int> &input_shape, in CreateParameter()
40 int block_shape[] = {2, 2}; in TEST_F() local
84 int block_shape[] = {3, 3}; in TEST_F() local
/third_party/mindspore/mindspore/core/ops/
Dspace_to_batch_nd.cc38 auto block_shape = GetValue<std::vector<int64_t>>(primitive->GetAttr(kBlockShape)); in InferShape() local
82 void SpaceToBatchND::set_block_shape(std::vector<int64_t> block_shape) { in set_block_shape()
96 void SpaceToBatchND::Init(const std::vector<int64_t> block_shape, const std::vector<std::vector<int… in Init()
Dbatch_to_space_nd.cc38 auto block_shape = GetValue<std::vector<int64_t>>(primitive->GetAttr(kBlockShape)); in InferShape() local
84 void BatchToSpaceND::set_block_shape(std::vector<int64_t> block_shape) { in set_block_shape()
99 void BatchToSpaceND::Init(const std::vector<int64_t> block_shape, const std::vector<std::vector<int… in Init()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Dspace_batch_nd_attr_update.cc46 auto block_shape = AnfAlgo::GetNodeAttr<std::vector<int64_t>>(node, kAttrBlockShape); in Process() local
70 auto block_shape = AnfAlgo::GetNodeAttr<std::vector<int64_t>>(node, kAttrBlockShape); in Process() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dbatch_to_space_infer.c30 const int32_t *block_shape = param->block_shape_; in SetOutputShapeFromParam() local
72 int *block_shape = (int *)(inputs[1]->data_); in SetOutputShapeFromInput() local
Dspace_to_batch_nd_infer.c31 const int *block_shape = param->block_sizes_; in SpaceSetOutputShapeFromParam() local
73 int *block_shape = (int *)(inputs[1]->data_); in SpaceSetOutputShapeFromInput() local
Dspace_to_batch_infer.c40 int *block_shape = param->block_sizes_; in SpaceToBatchInferShape() local
/third_party/mindspore/mindspore/lite/src/ops/populate/v0/
Dbatch_to_space_populate_v0.cc31 auto block_shape = attr->blockShape(); in PopulateBatchToSpaceParameter() local
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dbatch_to_space_populate.cc41 auto block_shape = std::vector<int64_t>(block_size->begin(), block_size->end()); in PopulateBatchToSpaceParameter() local
Dspace_to_batch_nd_populate.cc39 auto block_shape = value->block_shape(); in PopulateSpaceToBatchNDParameter() local
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dbatch_to_space_fp32.cc35 auto block_shape = static_cast<int *>(block_shape_data); in Processinput() local
Dspace_to_batch_fp32.cc38 auto block_shape = static_cast<int *>(block_shape_data); in ProcessInput() local
/third_party/mindspore/tests/st/networks/models/deeplabv3/src/backbone/
Dresnet_deeplab.py186 def __init__(self, block_shape, paddings): argument
197 def __init__(self, block_shape, crops): argument
/third_party/mindspore/mindspore/ops/operations/
Darray_ops.py5173 def __init__(self, block_shape, paddings): argument
5277 def __init__(self, block_shape, crops): argument
/third_party/mindspore/mindspore/lite/mindir/src/
Dmindir.cc696 PrimitivePtr MindIR_BatchToSpaceND_CreatePrimitive(const std::vector<int64_t> &block_shape, in MindIR_BatchToSpaceND_CreatePrimitive()
726 …IR_BatchToSpaceND_SetBlockShape(PrimitivePtr *primitive, const std::vector<int64_t> &block_shape) { in MindIR_BatchToSpaceND_SetBlockShape()
3562 PrimitivePtr MindIR_SpaceToBatchND_CreatePrimitive(const std::vector<int64_t> &block_shape, in MindIR_SpaceToBatchND_CreatePrimitive()
3592 …IR_SpaceToBatchND_SetBlockShape(PrimitivePtr *primitive, const std::vector<int64_t> &block_shape) { in MindIR_SpaceToBatchND_SetBlockShape()