1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
|
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import builtins
import caffe2.proto.caffe2_pb2
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import typing
import typing_extensions
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
class ModelInfo(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
PROJECT_FIELD_NUMBER: int
MODELCLASS_FIELD_NUMBER: int
VERSION_FIELD_NUMBER: int
PREDICTORTYPE_FIELD_NUMBER: int
MODELID_FIELD_NUMBER: int
project: typing.Text = ...
modelClass: typing.Text = ...
version: typing.Text = ...
predictorType: typing.Text = ...
modelId: typing.Text = ...
def __init__(self,
*,
project : typing.Optional[typing.Text] = ...,
modelClass : typing.Optional[typing.Text] = ...,
version : typing.Optional[typing.Text] = ...,
predictorType : typing.Optional[typing.Text] = ...,
modelId : typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal[u"modelClass",b"modelClass",u"modelId",b"modelId",u"predictorType",b"predictorType",u"project",b"project",u"version",b"version"]) -> bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"modelClass",b"modelClass",u"modelId",b"modelId",u"predictorType",b"predictorType",u"project",b"project",u"version",b"version"]) -> None: ...
global___ModelInfo = ModelInfo
class BlobsMap(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
KEY_FIELD_NUMBER: int
VALUE_FIELD_NUMBER: int
key: typing.Text = ...
value: google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text] = ...
def __init__(self,
*,
key : typing.Optional[typing.Text] = ...,
value : typing.Optional[typing.Iterable[typing.Text]] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal[u"key",b"key"]) -> bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> None: ...
global___BlobsMap = BlobsMap
class NetsMap(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
KEY_FIELD_NUMBER: int
VALUE_FIELD_NUMBER: int
key: typing.Text = ...
@property
def value(self) -> caffe2.proto.caffe2_pb2.NetDef: ...
def __init__(self,
*,
key : typing.Optional[typing.Text] = ...,
value : typing.Optional[caffe2.proto.caffe2_pb2.NetDef] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> None: ...
global___NetsMap = NetsMap
class PlansMap(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
KEY_FIELD_NUMBER: int
VALUE_FIELD_NUMBER: int
key: typing.Text = ...
@property
def value(self) -> caffe2.proto.caffe2_pb2.PlanDef: ...
def __init__(self,
*,
key : typing.Optional[typing.Text] = ...,
value : typing.Optional[caffe2.proto.caffe2_pb2.PlanDef] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> None: ...
global___PlansMap = PlansMap
class StringMap(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
KEY_FIELD_NUMBER: int
VALUE_FIELD_NUMBER: int
key: typing.Text = ...
value: typing.Text = ...
def __init__(self,
*,
key : typing.Optional[typing.Text] = ...,
value : typing.Optional[typing.Text] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"key",b"key",u"value",b"value"]) -> None: ...
global___StringMap = StringMap
class MetaNetDef(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
BLOBS_FIELD_NUMBER: int
NETS_FIELD_NUMBER: int
MODELINFO_FIELD_NUMBER: int
PLANS_FIELD_NUMBER: int
APPLICATIONSPECIFICINFO_FIELD_NUMBER: int
BLOBSORDER_FIELD_NUMBER: int
PRELOADBLOBS_FIELD_NUMBER: int
TENSORBOUNDSHAPES_FIELD_NUMBER: int
REQUESTONLYEMBEDDINGS_FIELD_NUMBER: int
AOTCONFIG_FIELD_NUMBER: int
blobsOrder: google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text] = ...
preLoadBlobs: google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text] = ...
requestOnlyEmbeddings: google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text] = ...
@property
def blobs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BlobsMap]: ...
@property
def nets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NetsMap]: ...
@property
def modelInfo(self) -> global___ModelInfo: ...
@property
def plans(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PlansMap]: ...
@property
def applicationSpecificInfo(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StringMap]: ...
@property
def tensorBoundShapes(self) -> caffe2.proto.caffe2_pb2.TensorBoundShapes: ...
@property
def aotConfig(self) -> caffe2.proto.caffe2_pb2.AOTConfig: ...
def __init__(self,
*,
blobs : typing.Optional[typing.Iterable[global___BlobsMap]] = ...,
nets : typing.Optional[typing.Iterable[global___NetsMap]] = ...,
modelInfo : typing.Optional[global___ModelInfo] = ...,
plans : typing.Optional[typing.Iterable[global___PlansMap]] = ...,
applicationSpecificInfo : typing.Optional[typing.Iterable[global___StringMap]] = ...,
blobsOrder : typing.Optional[typing.Iterable[typing.Text]] = ...,
preLoadBlobs : typing.Optional[typing.Iterable[typing.Text]] = ...,
tensorBoundShapes : typing.Optional[caffe2.proto.caffe2_pb2.TensorBoundShapes] = ...,
requestOnlyEmbeddings : typing.Optional[typing.Iterable[typing.Text]] = ...,
aotConfig : typing.Optional[caffe2.proto.caffe2_pb2.AOTConfig] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal[u"aotConfig",b"aotConfig",u"modelInfo",b"modelInfo",u"tensorBoundShapes",b"tensorBoundShapes"]) -> bool: ...
def ClearField(self, field_name: typing_extensions.Literal[u"aotConfig",b"aotConfig",u"applicationSpecificInfo",b"applicationSpecificInfo",u"blobs",b"blobs",u"blobsOrder",b"blobsOrder",u"modelInfo",b"modelInfo",u"nets",b"nets",u"plans",b"plans",u"preLoadBlobs",b"preLoadBlobs",u"requestOnlyEmbeddings",b"requestOnlyEmbeddings",u"tensorBoundShapes",b"tensorBoundShapes"]) -> None: ...
global___MetaNetDef = MetaNetDef
|