Fields¶
-
tensorrt.
FieldType
¶ The possible field types for the custom layer.
Members:
DIMS
UNKNOWN
DATATYPE
FLOAT
CHAR
INT32
-
class
tensorrt.
FieldMap
(self: tensorrt.tensorrt.FieldMap, name: str, data: capsule, type: tensorrt.tensorrt.FieldType, length: int = 1) → None¶ This is a class containing an array of field params used as a layer parameter for plugin layers. The node fields are passed by the parser to the API through the plugin constructor. The implementation of the plugin should parse the contents of the
FieldMap
as part of the plugin constructor.Variables: - name –
str
field param - data –
capsule
field param - type –
FieldType
field param - length –
int
field param
- name –