Skip to content

libtorch implementation of SinLU(Sinu-Sigmoidal Linear Unit)

Notifications You must be signed in to change notification settings

kaintels/SinLU-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

libtorch implementation of SinLU(Sinu-Sigmoidal Linear Unit)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published