ShapeMismatchException

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

An exception is thrown when the expected ans actual shape of NDArray differs.

Constructors

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

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

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?