InferenceTensorKnob class
Groups tensor dimensions, element format, and packed/unpacked layout.
- Inheritance
-
- Object
- ConfigKnob<
String> - GroupOfKnobs
- InferenceTensorKnob
Constructors
- InferenceTensorKnob()
-
Creates tensor shape and format controls.
factory
Properties
- columnsKnob → PositiveIntConfigKnob
-
Physical column count.
final
- formatKnob → InferenceFixedPointFormatKnob
-
Element width and fractional precision.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of this group.
no setterinherited
- rowsKnob → PositiveIntConfigKnob
-
Physical row count.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signedKnob → ToggleConfigKnob
-
Whether elements have a sign bit.
final
-
subKnobs
→ Map<
String, ConfigKnob> -
A mapping from a sub-knob name to a corresponding sub-ConfigKnob.
finalinherited
- unpackedKnob → ToggleConfigKnob
-
Whether tensor dimensions are unpacked.
final
- value ↔ String
-
The primary value being stored in this knob.
getter/setter pairinherited
Methods
-
loadJson(
Map< String, dynamic> decodedJson) → void -
Reconfigures this knob based on the provided deserialized JSON.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tile(
{String? name}) → InferenceTensorTile< Logic, LogicValue> - Creates a typed tile with matching numeric metadata and masks.
-
toJson(
) → Map< String, dynamic> -
Serializes this knob into a JSON-compatible map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited