WebWolfDefenderOnnxBackend class
final
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
close ()
→ Future <void >
override
load (String modelPath )
→ Future <void >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run (Int32List ids )
→ Future <Float32List >
The two logits, benign and injection, of ids: <bos>, at most 2046
tokens, and <eos>. The graph takes int64; web has no Int64List, so
each backend converts.
override
toString ()
→ String
A string representation of this object.
inherited