Skip to content

Commit

Permalink
Update action_predict.py
Browse files Browse the repository at this point in the history
  • Loading branch information
javierlorenzod authored Jul 5, 2023
1 parent 6d598a4 commit 1be22c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions action_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -3318,12 +3318,12 @@ def get_model(self, data_params):
tf_enc_inputs = layers.Concatenate(axis=-1)(network_inputs[1:])
else:
tf_enc_inputs = network_inputs[1]
tf_features = Encoder(num_layers=num_layers, d_model=d_model, num_heads=num_heads,
dff=dff, rate=dropout_rate)(tf_enc_inputs,None)
#tf_features = Dense(name='final_emb_' + data_types[i],units=attention_size)(tf_features)
encoder_outputs.append(
tf_features
)
tf_features = Encoder(num_layers=num_layers, d_model=d_model, num_heads=num_heads,
dff=dff, rate=dropout_rate)(tf_enc_inputs,None)
#tf_features = Dense(name='final_emb_' + data_types[i],units=attention_size)(tf_features)
encoder_outputs.append(
tf_features
)

if len(encoder_outputs) > 1:
att_enc_out = []
Expand Down

0 comments on commit 1be22c4

Please sign in to comment.