Spaces:
Runtime error
Runtime error
Update Time_TravelRephotography/models/encoder4editing/models/stylegan2/op/fused_act.py
Browse files
Time_TravelRephotography/models/encoder4editing/models/stylegan2/op/fused_act.py
CHANGED
@@ -6,13 +6,13 @@ from torch.autograd import Function
|
|
6 |
from torch.utils.cpp_extension import load
|
7 |
|
8 |
module_path = os.path.dirname(__file__)
|
9 |
-
fused = load(
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
)
|
16 |
|
17 |
|
18 |
class FusedLeakyReLUFunctionBackward(Function):
|
|
|
6 |
from torch.utils.cpp_extension import load
|
7 |
|
8 |
module_path = os.path.dirname(__file__)
|
9 |
+
#fused = load(
|
10 |
+
# 'fused',
|
11 |
+
# sources=[
|
12 |
+
# os.path.join(module_path, 'fused_bias_act.cpp'),
|
13 |
+
# os.path.join(module_path, 'fused_bias_act_kernel.cu'),
|
14 |
+
# ],
|
15 |
+
#)
|
16 |
|
17 |
|
18 |
class FusedLeakyReLUFunctionBackward(Function):
|