ShapeMismatchException

class ShapeMismatchException(expected: IntArray, actual: IntArray) : RuntimeException

An exception is thrown when the expected and actual shape of NDArray differ.

Constructors

Link copied to clipboard
fun ShapeMismatchException(expected: IntArray, actual: IntArray)

Properties

Link copied to clipboard
val actual: IntArray

the actual shape.

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val expected: IntArray

the expected shape.

Link copied to clipboard
open val message: String?

Sources

Link copied to clipboard