mltk.core.TfliteShape¶
- class TfliteShape[source]¶
Wrapper for tensor shape. This is a tuple of integer values
Properties
Total number of elements or flatten size
Methods
__init__
Return number of occurrences of value.
Return first index of value.
- property flat_size: int¶
Total number of elements or flatten size
- Return type:
int
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=sys.maxsize, /)¶
Return first index of value.
Raises ValueError if the value is not present.