AttrMetadata Structure |
Namespace: Emgu.TF
The AttrMetadata type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
![]() | IsList |
True if the attribute value is a list, false otherwise.
|
![]() | ListSize |
Length of the list if is_list is true. Undefined otherwise.
|
![]() | TotalSize |
Total size the attribute value.
The units of total_size depend on is_list and type.
(1) If type == TF_ATTR_STRING and is_list == 0
then total_size is the byte size of the string
valued attribute.
(2) If type == TF_ATTR_STRING and is_list == 1
then total_size is the cumulative byte size
of all the strings in the list.
(3) If type == TF_ATTR_SHAPE and is_list == 0
then total_size is the number of dimensions
of the shape valued attribute, or -1
if its rank is unknown.
(4) If type == TF_ATTR_SHAPE and is_list == 1
then total_size is the cumulative number
of dimensions of all shapes in the list.
(5) Otherwise, total_size is undefined.
|
![]() | Type |
Type of elements of the list if is_list != 0.
Type of the single value stored in the attribute if is_list == 0.
|