mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
add reshape layer
This commit is contained in:
parent
a336cdee90
commit
e51087d0a9
1 changed files with 4 additions and 2 deletions
|
@ -15,8 +15,10 @@ def model_rainfallwater_segmentation(metadata, feature_dim_in, shape_water_out,
|
||||||
|
|
||||||
# BEGIN
|
# BEGIN
|
||||||
layer_next = tf.keras.layers.Dense(name="cns.stage.begin.dense", units=feature_dim_in)(layer_input)
|
layer_next = tf.keras.layers.Dense(name="cns.stage.begin.dense", units=feature_dim_in)(layer_input)
|
||||||
layer_next = tf.keras.layers.LayerNormalization(name="stage_begin.norm", epsilon=1e-6)(layer_next)
|
layer_next = tf.keras.layers.LayerNormalization(name="cns.stage_begin.norm", epsilon=1e-6)(layer_next)
|
||||||
layer_next = tf.keras.layers.ReLU(name="stage_begin.relu")(layer_next)
|
layer_next = tf.keras.layers.ReLU(name="cns.stage_begin.relu")(layer_next)
|
||||||
|
|
||||||
|
layer_next = tf.keras.layers.Reshape((1, 1, feature_dim_in), name="cns.stable_begin.reshape")(layer_next)
|
||||||
|
|
||||||
layer_next = do_convnext_inverse(layer_next, arch_name="convnext_i_tiny")
|
layer_next = do_convnext_inverse(layer_next, arch_name="convnext_i_tiny")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue