/usr/local/lib64/python3.6/site-packages/torch/include/caffe2/utils
NameSizeModeActions
math/-0755rm
threadpool/-0755rm
bench_utils.h8540644editdlrm
cast.h11100644editdlrm
cblas.h341830644editdlrm
conversions.h6610644editdlrm
cpuid.h25600644editdlrm
cpu_neon.h15780644editdlrm
eigen_utils.h67060644editdlrm
filler.h39870644editdlrm
fixed_divisor.h36340644editdlrm
knobs.h5320644editdlrm
knob_patcher.h7150644editdlrm
map_utils.h6350644editdlrm
math-detail.h19160644editdlrm
math.h152510644editdlrm
murmur_hash3.h9090644editdlrm
proto_convert.h2630644editdlrm
proto_utils.h132540644editdlrm
proto_wrap.h3780644editdlrm
signal_handler.h6980644editdlrm
simple_queue.h26020644editdlrm
smart_tensor_printer.h14020644editdlrm
string_utils.h12060644editdlrm
zmq_helper.h30200644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/caffe2/utils/conversions.h (661B)
#pragma once // See Note [hip-clang differences to hcc] #if defined(__CUDA_ARCH__) || defined(__HIP_DEVICE_COMPILE__) || \ defined(__HIP__) || (defined(__clang__) && defined(__CUDA__)) #define CONVERSIONS_DECL __host__ __device__ inline #else #define CONVERSIONS_DECL inline #endif #ifdef _MSC_VER #undef IN #undef OUT #endif namespace caffe2 { namespace convert { template CONVERSIONS_DECL OUT To(const IN in) { return static_cast(in); } template CONVERSIONS_DECL OUT Get(IN x) { return static_cast(x); } }; // namespace convert }; // namespace caffe2 #undef CONVERSIONS_DECL