ShapeMismatchException

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

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

Constructors

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

Properties

actual
Link copied to clipboard
common
val actual: IntArray
the actual shape.
cause
Link copied to clipboard
common
open val cause: Throwable?
expected
Link copied to clipboard
common
val expected: IntArray
the expected shape.
message
Link copied to clipboard
common
open val message: String?

Sources

common source
Link copied to clipboard