Remove multiple if-else statement in the get_activation function. #5446
I added a new doc string to the class. This is more flexible to under…
8425cd48
Merge branch 'main' into doc_string
8a0e77d3
Merge branch 'main' into doc_string
cf3a8161
Merge branch 'main' into doc_string
a0cd96fb
Update src/diffusers/models/unet_2d_blocks.py
746a8e8e
Update src/diffusers/models/unet_2d_blocks.py
6e568864
Update unet_2d_blocks.py
627fd9fe
Update unet_2d_blocks.py
ae4f7f27
Update unet_2d_blocks.py
f0bea430
Merge branch 'main' into doc_string
872a4a55
I run the black command to reformat style in the code
3546f6d4
Merge branch 'main' into doc_string
12534f47
Merge branch 'main' into doc_string
48afb4b3
Merge pull request #1 from hi-sushanta/doc_string
0bb06b60
Update unet_2d_blocks.py
01a9fc96
Merge branch 'huggingface:main' into main
04e6efb5
Merge branch 'huggingface:main' into main
d695c4a0
I use a lower method in the activation function.
39494724
hisushanta
changed the title Actf modify Added a lower method in the get_activation function. 2 years ago
Replace multiple if-else statements with a dictionary of activation f…
390e4c8f
hisushanta
changed the title Added a lower method in the get_activation function. Remove multiple if-else statement in the get_activation function. 2 years ago
Merge branch 'main' into actf_modify
54439d29
Merge branch 'main' into actf_modify
70e427e3
I am using black package to reforamted my file
ad0009c8
I defined the ACTIVATION_FUNCTIONS variable outside of the function
4b1b67bd
activation function variable convert to lower case
c8f32daf
Merge branch 'main' into actf_modify
689ffaf2
First, I resolved the conflict issue. Then, I ran the Black package t…
d62bcb8b
Merge branch 'main' into actf_modify
5f4bfe1f
Merge branch 'main' into actf_modify
a33adc41
sayakpaul
approved these changes
on 2023-10-25
Merge branch 'main' into actf_modify
796bcbad
sayakpaul
merged
ce7f3344
into main 2 years ago
hisushanta
deleted the actf_modify branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub