FlutterPytorchLitePlatform class abstract

PyTorch Lite

@author guoweifeng @date 2024/1/10 10:37

Inheritance
  • Object
  • PlatformInterface
  • FlutterPytorchLitePlatform
Implementers

Constructors

FlutterPytorchLitePlatform()
Constructs a FlutterPytorchLitePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy(int moduleId) Future<void>
forward(int moduleId, List<IValue> inputs) Future<IValue>
load(String filePath) Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FlutterPytorchLitePlatform
The default instance of FlutterPytorchLitePlatform to use.
getter/setter pair