Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Maar authored Oct 24, 2024
1 parent 292c0ed commit a2ab8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cnn.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ cnn<-function (X = NULL, Y = NULL, architecture, loss = c("mse", "mae",
{
use_custom_dl<-!is.null(dataloader)
if(use_custom_dl){
sample_batch = data_loader$.iter()$.next()
sample_batch = train_data_loader$.iter()$.next()
X<- as.array(sample_batch$X)
Y<- c(as.matrix(sample_batch$Y))
batchsize=2L
Expand Down

0 comments on commit a2ab8c5

Please sign in to comment.