Skip to content

Commit f2d9b08

Browse files
committed
partial arg match warning
1 parent a3244d4 commit f2d9b08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/testthat/test-layer-text_vectorization.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ test_call_succeeds("can set and get the vocabulary of layer_text_vectorization",
6363
if(tf_version() < "2.5")
6464
layer$get_vocabulary()
6565

66-
set_vocabulary(layer, vocab = c("hello", "world"))
66+
set_vocabulary(layer, vocabulary = c("hello", "world"))
6767

6868
output <- layer(x)
6969

tests/testthat/test-rnn-api.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test_succeeds("layer_gru_cell", {
2828
expect_true(output$shape == shape(32, 4))
2929

3030
rnn <- layer_rnn(cell = layer_gru_cell(4),
31-
return_sequence = TRUE,
31+
return_sequences = TRUE,
3232
return_state = TRUE)
3333
c(whole_sequence_output, final_state) %<-% rnn(inputs)
3434

0 commit comments

Comments
 (0)