一、CMake编译 1.1 配置环境 参考 CMake VS2019 1.2 CMakeLists.txt文件 # ref: https://pytorch.org/tutorials/advanced/torch_script_custom_ops.html cmake_minimum_required(VERSION 3.9 FATAL_ERROR) project(custom_group_norm) set(CMAKE_VERBOSE_MAKEFILE ON) set