Public Member Functions | |
def | __init__ (self, values, lengths_blob=None) |
def | field_names (self) |
def | field_types (self) |
def | field_metadata (self) |
def | field_blobs (self) |
def | all_scalars (self) |
def | has_blobs (self) |
def | clone (self, keep_blobs=True) |
def | __getattr__ (self, item) |
def | __getitem__ (self, item) |
Public Member Functions inherited from caffe2.python.schema.Field | |
def | __init__ (self, children) |
def | clone_schema (self) |
def | field_names (self) |
def | field_types (self) |
def | field_metadata (self) |
def | field_blobs (self) |
def | all_scalars (self) |
def | has_blobs (self) |
def | clone (self, keep_blobs=True) |
def | slice (self) |
def | __eq__ (self, other) |
def | __repr__ (self) |
Public Attributes | |
lengths | |
Represents a variable-length list. Values of a list can also be complex fields such as Lists and Structs. In addition to the fields exposed by its `values` field, a List exposes an additional `lengths` field, which will contain the size of each list under the parent domain.
def caffe2.python.schema.List.__getattr__ | ( | self, | |
item | |||
) |