Skip to content

Commit

Permalink
Make DataBatch constructor public to allow implementing custom datase…
Browse files Browse the repository at this point in the history
…ts (#533)
  • Loading branch information
juliabeliaeva authored Apr 11, 2023
1 parent bcfc76d commit a8b578f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2020-2022 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved.
* Copyright 2020-2023 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/

Expand All @@ -11,7 +11,7 @@ package org.jetbrains.kotlinx.dl.dataset
* @param [y] Labels.
* @param [size] Number of rows in batch.
*/
public data class DataBatch internal constructor(
public data class DataBatch(
val x: Array<FloatArray>,
val y: FloatArray,
val size: Int
Expand Down

0 comments on commit a8b578f

Please sign in to comment.