diffusers
Remove multiple if-else statement in the get_activation function.
#5446
Merged

Remove multiple if-else statement in the get_activation function. #5446

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone