/SinLU-cpp

libtorch implementation of SinLU(Sinu-Sigmoidal Linear Unit)

Primary LanguageC++

SinLU-cpp

Libtorch implementation SinLU (Sinu-Sigmoidal Linear Unit)

Prerequisite

  • libtorch Release CPU version (1.12.0)
    • Tested on CPU. / CUDA is planned
  • Visual Studio build tools 2019 (for Windows)
  • WSL2 (for Linux)
  • Clang 10+ (for Linux)

How to execute

  1. Cmake 설치
  • 1.1 VScode의 CMake, CMake Language Support, CMake Tools 설치

  • 1.2 CMakeLists.txt를 저장 (Ctrl+S)

  1. 아래 커맨드 입력

python build.py

  1. libtorch lib의 dll 파일을 Release 폴더로 이동 (Only Windows)

  2. 파일 실행 build\Release\main.exe or build\main

See together

Tensorflow implementation (UnOfficial)

PyTorch implementaiton (Official)