Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 416066044
  • Loading branch information
albert-copybara committed Dec 13, 2021
1 parent c77cfcf commit 932b41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classifier_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def create_model(albert_config, is_training, input_ids, input_mask, segment_ids,
use_einsum=True,
hub_module=hub_module)

hidden_size = output_layer.shape[-1].value
hidden_size = output_layer.shape[-1]

output_weights = tf.get_variable(
"output_weights", [num_labels, hidden_size],
Expand Down

0 comments on commit 932b41f

Please sign in to comment.