Skip to content

could we compile torchVision and torchAudio cpp to javacpp && how to use javacpp compile whole cpp project with multiple cpp files into java/scala #1555

Open
@mullerhai

Description

@mullerhai

now we have use javacpp pytorch write one pytorch model framework in scala ,but we also need torchvision and torchAudio, now these two library also has cpp binding ,so we think javacpp also could compile them to java/scala. https://github.com/pytorch/vision/blob/main/torchvision/csrc/vision.cpp https://github.com/pytorch/audio/blob/main/src/libtorchaudio ,If javacpp could make them compile to java/scala ,will make big powerful for scala deeplearning. I only know use java -jar javacpp-**jar could compile one cpp file to java, but multiple cpp files in whole cpp project use javacpp to generate one dll so file and into java invoke I wonder you can teach me. thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions