InterpreterError
public enum InterpreterError : Error, Equatable, Hashable
extension InterpreterError: LocalizedError
extension InterpreterError: CustomStringConvertible
Errors thrown by the TensorFlow Lite Interpreter
.
-
Undocumented
Declaration
Swift
case invalidTensorIndex(index: Int, maxIndex: Int)
-
Undocumented
Declaration
Swift
case invalidTensorDataCount(provided: Int, required: Int)
-
Undocumented
Declaration
Swift
case invalidTensorDataType
-
Undocumented
Declaration
Swift
case failedToLoadModel
-
Undocumented
Declaration
Swift
case failedToCreateInterpreter
-
Undocumented
Declaration
Swift
case failedToResizeInputTensor(index: Int)
-
Undocumented
Declaration
Swift
case failedToCopyDataToInputTensor
-
Undocumented
Declaration
Swift
case failedToAllocateTensors
-
Undocumented
Declaration
Swift
case allocateTensorsRequired
-
Undocumented
Declaration
Swift
case invokeInterpreterRequired
-
Undocumented
Declaration
Swift
case tensorFlowLiteError(String)
-
A localized description of the interpreter error.
Declaration
Swift
public var errorDescription: String? { get }
-
A textual representation of the TensorFlow Lite interpreter error.
Declaration
Swift
public var description: String { get }