class ORTModelBackend extends Model with AutoCloseable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ORTModelBackend
- AutoCloseable
- Model
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ORTModelBackend(onnxBytes: Array[Byte])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val allNodeNamesAndDims: (PointerPointer[BytePointer], Array[LongPointer], PointerPointer[BytePointer])
- val allocator: AllocatorWithDefaultOptions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- ORTModelBackend → AutoCloseable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fullModel[T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](inputs: (T, T1, T2, T3, T4, T5, T6, T7, T8))(implicit arg0: ClassTag[T], arg1: ClassTag[T1], arg2: ClassTag[T2], arg3: ClassTag[T3], arg4: ClassTag[T4], arg5: ClassTag[T5], arg6: ClassTag[T6], arg7: ClassTag[T7], arg8: ClassTag[T8], arg9: ClassTag[T9], arg10: ClassTag[T10], arg11: ClassTag[T11], arg12: ClassTag[T12], arg13: ClassTag[T13], arg14: ClassTag[T14], arg15: ClassTag[T15], arg16: ClassTag[T16], arg17: ClassTag[T17]): T9
- Definition Classes
- ORTModelBackend → Model
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInput[T](input: T)(implicit arg0: ClassTag[T]): Option[Value]
- def getInputAndOutputNodeNamesAndDims(sess: Session): (PointerPointer[BytePointer], Array[LongPointer], PointerPointer[BytePointer])
- def getSession(bytes: Array[Byte]): Session
- def getTensor[T](input: T)(implicit arg0: ClassTag[T]): Value
- def getTensorByte(tens: Tensor[Byte]): Value
- def getTensorDouble(tens: Tensor[Double]): Value
- def getTensorFloat(tens: Tensor[Float]): Value
- def getTensorFromValue(value: Value, shapePointer: LongPointer): (Array[_1], Array[Int]) forSome {type _1 >: Float with Double with Byte with Short with Int with Long <: AnyVal}
- def getTensorInt(tens: Tensor[Int]): Value
- def getTensorLong(tens: Tensor[Long]): Value
- def getTensorShort(tens: Tensor[Short]): Value
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val memory_info: MemoryInfo
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def runModel(sess: Session, input_tensor_values: Array[Value], inputNames: PointerPointer[BytePointer], nodeDims: Array[LongPointer], outputNames: PointerPointer[BytePointer]): (Array[_1], Array[Int]) forSome {type _1 >: Float with Double with Byte with Short with Int with Long <: AnyVal}
- val session: Session
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()