Click or drag to resize

AttrMetadata Structure

https://www.emgu.com/wiki/index.php/Emgu_TF
Describes the value of an attribute on an operation.

Namespace:  Emgu.TF
Assembly:  Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.6.0.1294
Syntax
public struct AttrMetadata

The AttrMetadata type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldIsList
True if the attribute value is a list, false otherwise.
Public fieldListSize
Length of the list if is_list is true. Undefined otherwise.
Public fieldTotalSize
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.
Public fieldType
Type of elements of the list if is_list != 0. Type of the single value stored in the attribute if is_list == 0.
Top
See Also