add #pragma once for header file in example 42 (#698)

This commit is contained in:
Wenzhuo Liu
2022-11-15 22:50:24 -05:00
committed by GitHub
parent 06eb90cc0d
commit 3c90f6aea6
@@ -1,3 +1,5 @@
#pragma once
#ifdef HAS_PYTORCH
#include <ATen/ATen.h>
#include <ATen/cuda/CUDAContext.h>