Go to the source code of this file.
|
| typedef std::map< std::string, torch::jit::IValue > | MetaData |
| |
| typedef std::map< std::string, torch::Tensor > | DNMetaData |
| |
|
| torch::Tensor | load_anchor (const std::string &filename) |
| | Load anchor data from a NumPy .npy file. More...
|
| |
◆ DNMetaData
| typedef std::map<std::string, torch::Tensor> DNMetaData |
◆ MetaData
| typedef std::map<std::string, torch::jit::IValue> MetaData |
◆ load_anchor()
| torch::Tensor load_anchor |
( |
const std::string & |
filename | ) |
|
Load anchor data from a NumPy .npy file.
- Parameters
-
| filename | Path to the .npy file containing anchor data |
- Returns
- torch::Tensor Loaded anchor tensor