Home
last modified time | relevance | path

Searched refs:set_axis (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/
Dcaffe_crop_parser.cc29 prim->set_axis(2); in Parse()
38 prim->set_axis(cropParam.axis()); in Parse()
40 prim->set_axis(2); in Parse()
Dcaffe_softmax_parser.cc32 prim->set_axis({proto.softmax_param().axis()}); in Parse()
34 prim->set_axis({1}); in Parse()
Dcaffe_slice_parser.cc45 prim->set_axis(slice_param.axis()); in Parse()
47 prim->set_axis(slice_param.slice_dim()); in Parse()
Dcaffe_scale_parser.cc51 prim->set_axis(1); in Parse()
58 prim->set_axis(axis_index); in Parse()
/third_party/mindspore/mindspore/core/ops/
Dglu.cc22 void GLU::Init(int64_t axis) { set_axis(axis); } in Init()
24 void GLU::set_axis(int64_t axis) { (void)AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::GLU
Dscale.cc21 void Scale::Init(const int64_t axis) { set_axis(axis); } in Init()
23 void Scale::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Scale
Dlp_normalization.cc24 this->set_axis(axis); in Init()
28 void LpNormalization::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::LpNormalization
Dsplit.cc25 this->set_axis(axis); in Init()
32 void Split::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Split
Dcrop.cc26 this->set_axis(axis); in Init()
30 void Crop::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Crop
Dl2_normalize.cc24 this->set_axis(axis); in Init()
28 void L2Normalize::set_axis(const std::vector<int64_t> &axis) { (void)AddAttr(kAxis, MakeValue(axis)… in set_axis() function in mindspore::ops::L2Normalize
Dreverse_v2.cc42 void ReverseV2::Init(const std::vector<int64_t> &axis) { this->set_axis(axis); } in Init()
43 void ReverseV2::set_axis(const std::vector<int64_t> &axis) { (void)this->AddAttr(kAxis, MakeValue(a… in set_axis() function in mindspore::ops::ReverseV2
Darg_min.cc23 set_axis(axis); in Init()
27 void ArgMin::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::ArgMin
Dunstack.cc21 void Unstack::Init(const int64_t axis) { this->set_axis(axis); } in Init()
22 void Unstack::set_axis(const int64_t axis) { (void)AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Unstack
Dunpack.cc21 void Unpack::Init(const int64_t axis) { this->set_axis(axis); } in Init()
22 void Unpack::set_axis(const int64_t axis) { (void)AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Unpack
Dunsqueeze.cc24 void Unsqueeze::Init(const std::vector<int64_t> axis) { this->set_axis(axis); } in Init()
26 void Unsqueeze::set_axis(const std::vector<int64_t> axis) { (void)this->AddAttr(kAxis, MakeValue(ax… in set_axis() function in mindspore::ops::Unsqueeze
Dlog_softmax.cc29 void LogSoftmax::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::LogSoftmax
33 void LogSoftmax::Init(const int64_t axis) { this->set_axis(axis); } in Init()
Darg_max.cc50 set_axis(axis); in Init()
54 void ArgMax::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::ArgMax
Dstack.cc63 void Stack::set_axis(const int64_t axis) { (void)AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Stack
67 void Stack::Init(const int64_t axis) { this->set_axis(axis); } in Init()
Dpack.cc50 void Pack::set_axis(const int64_t &axis) { (void)AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Pack
54 void Pack::Init(const int64_t &axis) { this->set_axis(axis); } in Init()
Dsqueeze.cc21 void Squeeze::Init(const std::vector<int64_t> &axis) { set_axis(axis); } in Init()
22 void Squeeze::set_axis(const std::vector<int64_t> &axis) { (void)AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::Squeeze
Dsoftmax.cc29 void Softmax::set_axis(const std::vector<int64_t> &axis) { (void)this->AddAttr(kAxis, MakeValue(axi… in set_axis() function in mindspore::ops::Softmax
44 this->set_axis(axis_vec); in Init()
/third_party/mindspore/mindspore/core/ops/fusion/
Dtopk_fusion.cc24 this->set_axis(axis); in Init()
29 void TopKFusion::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() function in mindspore::ops::TopKFusion
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_split_parser.cc29 prim->set_axis(0); in Parse()
35 prim->set_axis(onnx_node_attr.i()); in Parse()
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_softmax.cc39 softmax->set_axis(init_data); in TEST_F()
69 softmax->set_axis(init_data); in TEST_F()
99 softmax->set_axis(init_data); in TEST_F()
/third_party/mindspore/mindspore/lite/test/ut/tools/converter/registry/parser/
Dnode_parser_test.cc43 primc->set_axis(0); in Parse()
55 primc->set_axis(0); in Parse()

1234