opencv/modules/dnn/src/torch
Wanli 6ae1709c6a
Merge pull request #24613 from WanliZhong:softmax_default_axis
Make default axis of softmax in onnx "-1" without opset option #24613

Try to solve problem: https://github.com/opencv/opencv/pull/24476#discussion_r1404821158

**ONNX**
`opset <= 11` use 1
`else` use -1

**TensorFlow**
`TF version = 2.x` use -1
`else` use 1

**Darknet, Caffe, Torch**
use 1 by definition
2023-12-15 10:41:42 +03:00
..
COPYRIGHT.txt dnn: move module from opencv_contrib 2017-06-26 13:41:51 +03:00
THDiskFile.cpp Fix memory leak and handle realloc failure 2023-09-18 22:43:44 +08:00
THDiskFile.h Fixed some issues found by static analysis 2017-09-08 12:22:12 +03:00
THFile.cpp Remove cv::dnn::Importer 2017-12-18 18:08:28 +03:00
THFile.h Remove cv::dnn::Importer 2017-12-18 18:08:28 +03:00
THFilePrivate.h dnn: cleanup torch integration code 2017-06-28 21:49:37 +00:00
THGeneral.cpp dnn: remove malloc.h include 2019-01-10 13:07:36 +01:00
THGeneral.h dnn: cleanup torch integration code 2017-06-28 21:49:37 +00:00
torch_importer.cpp Merge pull request #24613 from WanliZhong:softmax_default_axis 2023-12-15 10:41:42 +03:00