@@ -80,27 +80,36 @@ if(FALSE) {
8080 mk_export(" keras.activations.squareplus" )$ dump | > cat_cb()
8181 mk_export(" keras.activations.tanh_shrink" )$ dump | > cat_cb()
8282 mk_export(" keras.config.is_flash_attention_enabled" )$ dump | > cat_cb()
83+ mk_export(" keras.losses.circle" )$ dump | > cat_cb()
84+ mk_export(" keras.initializers.STFT" )$ dump | > cat_cb()
85+ mk_export(" keras.metrics.ConcordanceCorrelation" )$ dump | > cat_cb()
86+ mk_export(" keras.metrics.PearsonCorrelation" )$ dump | > cat_cb()
8387
8488
8589 mk_export(" keras.Model.set_state_tree" )$ dump | > cat_cb()
8690 mk_export(" keras.layers.Solarization" )$ dump | > cat_cb()
8791
8892 catched <- character ()
8993 catch <- function (... ) catched <<- c(catched , " \n\n " , ... )
90- mk_export(" keras.ops.bitwise_and" )$ dump | > catch()
91- mk_export(" keras.ops.bitwise_invert" )$ dump | > catch()
92- mk_export(" keras.ops.bitwise_left_shift" )$ dump | > catch()
93- mk_export(" keras.ops.bitwise_not" )$ dump | > catch()
94- mk_export(" keras.ops.bitwise_or" )$ dump | > catch()
95- mk_export(" keras.ops.bitwise_right_shift" )$ dump | > catch()
96- mk_export(" keras.ops.bitwise_xor" )$ dump | > catch()
97- mk_export(" keras.ops.dot_product_attention" )$ dump | > catch()
98- mk_export(" keras.ops.histogram" )$ dump | > catch()
99- mk_export(" keras.ops.left_shift" )$ dump | > catch()
100- mk_export(" keras.ops.right_shift" )$ dump | > catch()
101- mk_export(" keras.ops.logdet" )$ dump | > catch()
102- mk_export(" keras.ops.saturate_cast" )$ dump | > catch()
103- mk_export(" keras.ops.trunc" )$ dump | > catch()
94+ mk_export(" keras.ops.exp2" )$ dump | > catch()
95+ mk_export(" keras.ops.inner" )$ dump | > catch()
96+
97+ # mk_export("keras.ops.glu")$dump |> catch()
98+ # mk_export("keras.ops.hard_shrink")$dump |> catch()
99+ # mk_export("keras.ops.hard_tanh")$dump |> catch()
100+ # mk_export("keras.ops.soft_shrink")$dump |> catch()
101+ # mk_export("keras.ops.squareplus")$dump |> catch()
102+ # mk_export("keras.ops.tanh_shrink")$dump |> catch()
103+ # mk_export("keras.ops.celu")$dump |> catch()
104+
105+ #
106+ # mk_export("keras.ops.dot_product_attention")$dump |> catch()
107+ # mk_export("keras.ops.histogram")$dump |> catch()
108+ # mk_export("keras.ops.left_shift")$dump |> catch()
109+ # mk_export("keras.ops.right_shift")$dump |> catch()
110+ # mk_export("keras.ops.logdet")$dump |> catch()
111+ # mk_export("keras.ops.saturate_cast")$dump |> catch()
112+ # mk_export("keras.ops.trunc")$dump |> catch()
104113
105114
106115 catched | > str_flatten_and_compact_lines(roxygen = TRUE ) | > cat_cb()
@@ -120,3 +129,12 @@ view_vignette_adaptation_diff <- function(rmd_file) {
120129}
121130
122131# view_vignette_adaptation_diff("vignettes-src/writing_a_training_loop_from_scratch.Rmd")
132+
133+ add 7 new nn ops
134+ op_glu()
135+ op_hard_shrink()
136+ op_hard_tanh()
137+ op_soft_shrink()
138+ op_squareplus()
139+ op_tanh_shrink()
140+ op_celu()
0 commit comments