@@ -244,7 +244,8 @@ const COST = Dict{Symbol,InstructionCost}(
244
244
:cospi_fast => InstructionCost (18 ,15.0 ,68.0 ,26 ),
245
245
:sincospi_fast => InstructionCost (25 ,22.0 ,70.0 ,26 ),
246
246
:tanh => InstructionCost (40 ,40.0 ,40.0 ,26 ), # FIXME
247
- # :tanh_fast => InstructionCost(25,22.0,70.0,26), # FIXME
247
+ :tanh_fast => InstructionCost (25 ,22.0 ,70.0 ,26 ), # FIXME
248
+ :sigmoid_fast => InstructionCost (25 ,22.0 ,70.0 ,26 ), # FIXME
248
249
:identity => InstructionCost (0 ,0.0 ,0.0 ,0 ),
249
250
:adjoint => InstructionCost (0 ,0.0 ,0.0 ,0 ),
250
251
:conj => InstructionCost (0 ,0.0 ,0.0 ,0 ),
@@ -475,7 +476,8 @@ const FUNCTIONSYMBOLS = IdDict{Type{<:Function},Instruction}(
475
476
typeof (Base. FastMath. sincos_fast) => :sincos ,
476
477
typeof (SLEEFPirates. sincos) => :sincos ,
477
478
typeof (Base. tanh) => :tanh ,
478
- # typeof(SLEEFPirates.tanh_fast) => :tanh_fast,
479
+ typeof (tanh_fast) => :tanh_fast ,
480
+ typeof (sigmoid_fast) => :sigmoid_fast ,
479
481
typeof (max) => :max ,
480
482
typeof (min) => :min ,
481
483
typeof (max_fast) => :max_fast ,
0 commit comments