Skip to content

Commit

Permalink
code reformat [skip test]
Browse files Browse the repository at this point in the history
  • Loading branch information
maziyarpanahi committed Jan 29, 2025
1 parent d0da98d commit aefce9b
Show file tree
Hide file tree
Showing 82 changed files with 1,847 additions and 1,661 deletions.
6 changes: 0 additions & 6 deletions src/main/scala/com/johnsnowlabs/ml/ai/Albert.scala
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,7 @@ private[johnsnowlabs] class Albert(
segmentTensors.close()
}


case Openvino.name =>



val batchLength = batch.length
val shape = Array(batchLength, maxSentenceLength)
val (tokenTensors, maskTensors) =
Expand Down Expand Up @@ -192,8 +188,6 @@ private[johnsnowlabs] class Albert(
throw e
}



case _ =>
val tensors = new TensorResources()

Expand Down
Loading

0 comments on commit aefce9b

Please sign in to comment.