-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerate.rsp
More file actions
86 lines (86 loc) · 3.02 KB
/
generate.rsp
File metadata and controls
86 lines (86 loc) · 3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
--file
THSAutoGrad.h
THSJIT.h
THSNN.h
THSStorage.h
THSTensor.h
THSTorch.h
THSVision.h
Utils.h
--file-directory
./Native/
--include-directory
./Native/
--methodClassName
PInvoke
--prefixStrip
THS
--namespace
AssetRipper.Bindings.LibTorchSharp.LowLevel
--output
./AssetRipper.Bindings.LibTorchSharp/LowLevel/
--libraryPath
LibTorchSharp
--remap
THSTorch_bool_to_scalar=THSScalar_FromBoolean
THSTorch_uint8_to_scalar=THSScalar_FromUInt8
THSTorch_int8_to_scalar=THSScalar_FromInt8
THSTorch_int16_to_scalar=THSScalar_FromInt16
THSTorch_int32_to_scalar=THSScalar_FromInt32
THSTorch_int64_to_scalar=THSScalar_FromInt64
THSTorch_complex32_to_scalar=THSScalar_FromComplex32
THSTorch_complex64_to_scalar=THSScalar_FromComplex64
THSTorch_bfloat16_to_scalar=THSScalar_FromBFloat16
THSTorch_float16_to_scalar=THSScalar_FromHalf
THSTorch_float32_to_scalar=THSScalar_FromSingle
THSTorch_float64_to_scalar=THSScalar_FromDouble
THSTorch_scalar_to_bool=THSScalar_ToBoolean
THSTorch_scalar_to_uint8=THSScalar_ToUInt8
THSTorch_scalar_to_int8=THSScalar_ToInt8
THSTorch_scalar_to_int16=THSScalar_ToInt16
THSTorch_scalar_to_int32=THSScalar_ToInt32
THSTorch_scalar_to_int64=THSScalar_ToInt64
THSTorch_scalar_to_complex32=THSScalar_ToComplex32
THSTorch_scalar_to_complex64=THSScalar_ToComplex64
THSTorch_scalar_to_bfloat16=THSScalar_ToBFloat16
THSTorch_scalar_to_float16=THSScalar_ToHalf
THSTorch_scalar_to_float32=THSScalar_ToSingle
THSTorch_scalar_to_float64=THSScalar_ToDouble
THSTorch_scalar_type=THSScalar_get_Type
THSTorch_dispose_scalar=THSScalar_dispose
THSTensor_type=THSTensor_get_Type
THSBackend_cublas_get_allow_tf32=THScuBLAS_get_AllowTF32
THSBackend_cublas_set_allow_tf32=THScuBLAS_set_AllowTF32
THSBackend_cuda_get_allow_fp16_reduced_precision_reduction=THSCuda_get_allow_fp16_reduced_precision_reduction
THSBackend_cuda_get_enable_flash_sdp=THSCuda_get_enable_flash_sdp
THSBackend_cuda_get_enable_math_sdp=THSCuda_get_enable_math_sdp
THSBackend_cuda_set_allow_fp16_reduced_precision_reduction=THSCuda_set_allow_fp16_reduced_precision_reduction
THSBackend_cuda_set_enable_flash_sdp=THSCuda_set_enable_flash_sdp
THSBackend_cuda_set_enable_math_sdp=THSCuda_set_enable_math_sdp
THSBackend_cudnn_get_allow_tf32=THScuDNN_get_AllowTF32
THSBackend_cudnn_set_allow_tf32=THScuDNN_set_AllowTF32
THSTorchCuda_cudnn_is_available=THScuDNN_get_IsAvailable
THSTorchCuda_device_count=THSCuda_get_DeviceCount
THSTorchCuda_is_available=THSCuda_get_IsAvailable
THSTorchCuda_synchronize=THSCuda_Synchronize
THSNN_custom_module=THSNN_CustomModule_ctor
THSNN_functional_bilinear=THSNN_bilinear
THSNN_functional_linear=THSNN_linear
THSNN_Module_is_training=THSNN_Module_get_IsTraining
THSNN_Module_train=THSNN_Module_set_IsTraining
THSAutograd_setGrad=THSAutograd_set_IsGradEnabled
--config
exclude-enum-operators
exclude-funcs-with-body
exclude-using-statics-for-enums
generate-aggressive-inlining
generate-callconv-member-function
generate-disable-runtime-marshalling
generate-file-scoped-namespaces
generate-helper-types
strip-enum-member-type-name
log-exclusions
log-visited-files
multi-file
preview-codegen
windows-types