Home
last modified time | relevance | path

Searched refs:SpaceToBatchND (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mindspore/mindspore/core/ops/
Dspace_to_batch_nd.h33 class MS_CORE_API SpaceToBatchND : public PrimitiveC {
36 SpaceToBatchND() : PrimitiveC(kNameSpaceToBatchND) {} in SpaceToBatchND() function
38 ~SpaceToBatchND() = default;
39 MS_DECLARE_PARENT(SpaceToBatchND, PrimitiveC);
57 using PrimSpaceToBatchNDPtr = std::shared_ptr<SpaceToBatchND>;
Dspace_to_batch_nd.cc63 void SpaceToBatchND::set_paddings(std::vector<std::vector<int64_t>> paddings) { in set_paddings()
78 std::vector<std::vector<int64_t>> SpaceToBatchND::get_paddings() const { in get_paddings()
82 void SpaceToBatchND::set_block_shape(std::vector<int64_t> block_shape) { in set_block_shape()
92 std::vector<int64_t> SpaceToBatchND::get_block_shape() const { in get_block_shape()
96 void SpaceToBatchND::Init(const std::vector<int64_t> block_shape, const std::vector<std::vector<int… in Init()
106 REGISTER_PRIMITIVE_C(kNameSpaceToBatchND, SpaceToBatchND);
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_space_to_batch_nd_parser.cc29 auto prim = std::make_unique<ops::SpaceToBatchND>(); in Parse()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_space_to_batch_nd_parser.cc33 auto prim = std::make_unique<ops::SpaceToBatchND>(); in Parse()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dspace_to_batch_nd_infer.c142 REG_INFER(SpaceToBatchND, PrimType_SpaceToBatchND, SpaceToBatchNdInferShape)
/third_party/mindspore/mindspore/lite/schema/
Dmodel_v0.fbs201 SpaceToBatchND,
Dops.fbs161 SpaceToBatchND,
928 table SpaceToBatchND {
Dops_v0.fbs1008 table SpaceToBatchND {
Dmodel_generated.h887 const mindspore::schema::SpaceToBatchND *value_as_SpaceToBatchND() const { in value_as_SpaceToBatchND()
888 …:PrimitiveType_SpaceToBatchND ? static_cast<const mindspore::schema::SpaceToBatchND *>(value()) : … in value_as_SpaceToBatchND()
1636 …emplate<> inline const mindspore::schema::SpaceToBatchND *Primitive::value_as<mindspore::schema::S…
Dmodel_v0_generated.h1281 template<> struct PrimitiveTypeTraits<mindspore::schema::v0::SpaceToBatchND> {
2325 const mindspore::schema::v0::SpaceToBatchND *value_as_SpaceToBatchND() const {
2326 …mitiveType_SpaceToBatchND ? static_cast<const mindspore::schema::v0::SpaceToBatchND *>(value()) : …
3089 …e<> inline const mindspore::schema::v0::SpaceToBatchND *Primitive::value_as<mindspore::schema::v0:…
4327 auto ptr = reinterpret_cast<const mindspore::schema::v0::SpaceToBatchND *>(obj);
Dops_generated.h437 struct SpaceToBatchND;
1805 template<> struct PrimitiveTypeTraits<mindspore::schema::SpaceToBatchND> {
9643 struct SpaceToBatchND FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
9666 typedef SpaceToBatchND Table;
9670 fbb_.AddOffset(SpaceToBatchND::VT_BLOCK_SHAPE, block_shape);
9673 fbb_.AddOffset(SpaceToBatchND::VT_PADDINGS, paddings);
9679 flatbuffers::Offset<SpaceToBatchND> Finish() {
9681 auto o = flatbuffers::Offset<SpaceToBatchND>(end);
9686 inline flatbuffers::Offset<SpaceToBatchND> CreateSpaceToBatchND(
9696 inline flatbuffers::Offset<SpaceToBatchND> CreateSpaceToBatchNDDirect(
[all …]
Dops_v0_generated.h481 struct SpaceToBatchND;
10355 struct SpaceToBatchND FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
10378 typedef SpaceToBatchND Table;
10382 fbb_.AddOffset(SpaceToBatchND::VT_BLOCKSHAPE, blockShape); in add_blockShape()
10385 fbb_.AddOffset(SpaceToBatchND::VT_PADDINGS, paddings); in add_paddings()
10391 flatbuffers::Offset<SpaceToBatchND> Finish() { in Finish()
10393 auto o = flatbuffers::Offset<SpaceToBatchND>(end); in Finish()
10398 inline flatbuffers::Offset<SpaceToBatchND> CreateSpaceToBatchND(
10408 inline flatbuffers::Offset<SpaceToBatchND> CreateSpaceToBatchNDDirect(
/third_party/mindspore/mindspore/lite/src/ops/
Dops_func_declare.h408 FUNC_MSOP2SCHEMAOP_DECLARE(SpaceToBatchND)
Dops_def.cc160 OP_TYPE(SpaceToBatchND)
928 OP_SCHEMA_DEF(SpaceToBatchND)
931 OP_SCHEMA_DEF_END(SpaceToBatchND)
Dops_utils.cc629 auto ms_primc = GetValueNode<std::shared_ptr<mindspore::ops::SpaceToBatchND>>(node); in SpaceToBatchNDPrimitiveCreator()
/third_party/mindspore/mindspore/ops/operations/
D__init__.py35 … BatchToSpace, SpaceToBatchND, BatchToSpaceND, BroadcastTo, InplaceUpdate, ReverseSequence,
Darray_ops.py5114 class SpaceToBatchND(PrimitiveWithInfer): class
/third_party/mindspore/tests/ut/python/ops/
Dtest_array_ops.py312 self.space_to_batch_nd = P.SpaceToBatchND(block_shape, paddings)
/third_party/mindspore/mindspore/ops/_grad/
Dgrad_array_ops.py1002 @bprop_getters.register(P.SpaceToBatchND)
1017 batch_to_space_nd_grad = P.SpaceToBatchND(self.block_shape, self.crops)
/third_party/mindspore/mindspore/lite/schema/inner/
Dmodel_generated.h1036 const mindspore::schema::SpaceToBatchND *value_as_SpaceToBatchND() const { in value_as_SpaceToBatchND()
1037 …:PrimitiveType_SpaceToBatchND ? static_cast<const mindspore::schema::SpaceToBatchND *>(value()) : … in value_as_SpaceToBatchND()
1791 …emplate<> inline const mindspore::schema::SpaceToBatchND *Primitive::value_as<mindspore::schema::S…
Dops_v0_generated.h637 struct SpaceToBatchND;
14558 typedef SpaceToBatchND TableType;
14563 struct SpaceToBatchND FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
14595 …static flatbuffers::Offset<SpaceToBatchND> Pack(flatbuffers::FlatBufferBuilder &_fbb, const SpaceT…
14599 typedef SpaceToBatchND Table;
14603 fbb_.AddOffset(SpaceToBatchND::VT_BLOCKSHAPE, blockShape); in add_blockShape()
14606 fbb_.AddOffset(SpaceToBatchND::VT_PADDINGS, paddings); in add_paddings()
14612 flatbuffers::Offset<SpaceToBatchND> Finish() { in Finish()
14614 auto o = flatbuffers::Offset<SpaceToBatchND>(end); in Finish()
14619 inline flatbuffers::Offset<SpaceToBatchND> CreateSpaceToBatchND(
[all …]
Dops_generated.h578 struct SpaceToBatchND;
2405 template<> struct PrimitiveTypeTraits<mindspore::schema::SpaceToBatchND> {
14839 typedef SpaceToBatchND TableType;
14844 struct SpaceToBatchND FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
14876 …static flatbuffers::Offset<SpaceToBatchND> Pack(flatbuffers::FlatBufferBuilder &_fbb, const SpaceT…
14880 typedef SpaceToBatchND Table;
14884 fbb_.AddOffset(SpaceToBatchND::VT_BLOCK_SHAPE, block_shape);
14887 fbb_.AddOffset(SpaceToBatchND::VT_PADDINGS, paddings);
14893 flatbuffers::Offset<SpaceToBatchND> Finish() {
14895 auto o = flatbuffers::Offset<SpaceToBatchND>(end);
[all …]
Dmodel_v0_generated.h1299 template<> struct PrimitiveTypeTraits<mindspore::schema::v0::SpaceToBatchND> {
4132 const mindspore::schema::v0::SpaceToBatchND *value_as_SpaceToBatchND() const {
4133 …mitiveType_SpaceToBatchND ? static_cast<const mindspore::schema::v0::SpaceToBatchND *>(value()) : …
4902 …e<> inline const mindspore::schema::v0::SpaceToBatchND *Primitive::value_as<mindspore::schema::v0:…
6531 auto ptr = reinterpret_cast<const mindspore::schema::v0::SpaceToBatchND *>(obj);
7365 auto ptr = reinterpret_cast<const mindspore::schema::v0::SpaceToBatchND *>(obj);
/third_party/mindspore/mindspore/lite/mindir/src/
Dmindir_nnrt_lite_graph_to_model.cc1068 SpaceToBatchND space_to_batch_n_d{}; in ConvertSpaceToBatchND()
/third_party/mindspore/
DRELEASE.md1829 ##### `ops.SpaceToBatch`, `ops.BatchToSpace` are deprecated in favor of `ops.SpaceToBatchND`, `ops.…
1831 The `ops.SpaceToBatchND`, `ops.BatchToSpaceND` are more general and have same behavior as `ops.Spac…

12