File: predictor_consts_pb2.pyi

package info (click to toggle)
pytorch 1.13.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 139,252 kB
  • sloc: cpp: 1,100,274; python: 706,454; ansic: 83,052; asm: 7,618; java: 3,273; sh: 2,841; javascript: 612; makefile: 323; xml: 269; ruby: 185; yacc: 144; objc: 68; lex: 44
file content (63 lines) | stat: -rw-r--r-- 3,856 bytes parent folder | download
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
"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.message
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...

class PredictorConsts(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    META_NET_DEF_FIELD_NUMBER: int
    PREDICTOR_DBREADER_FIELD_NUMBER: int
    PARAMETERS_BLOB_TYPE_FIELD_NUMBER: int
    INPUTS_BLOB_TYPE_FIELD_NUMBER: int
    OUTPUTS_BLOB_TYPE_FIELD_NUMBER: int
    GLOBAL_INIT_NET_TYPE_FIELD_NUMBER: int
    PREDICT_INIT_NET_TYPE_FIELD_NUMBER: int
    PREDICT_NET_TYPE_FIELD_NUMBER: int
    SINGLE_PREDICTOR_FIELD_NUMBER: int
    MULTI_PREDICTOR_FIELD_NUMBER: int
    TRAIN_INIT_PLAN_TYPE_FIELD_NUMBER: int
    TRAIN_PLAN_TYPE_FIELD_NUMBER: int
    SHAPE_INFO_BLOB_FIELD_NUMBER: int
    DEFERRED_BLOB_READER_FIELD_NUMBER: int
    META_NET_DEF: typing.Text = ...
    PREDICTOR_DBREADER: typing.Text = ...
    PARAMETERS_BLOB_TYPE: typing.Text = ...
    INPUTS_BLOB_TYPE: typing.Text = ...
    OUTPUTS_BLOB_TYPE: typing.Text = ...
    GLOBAL_INIT_NET_TYPE: typing.Text = ...
    PREDICT_INIT_NET_TYPE: typing.Text = ...
    PREDICT_NET_TYPE: typing.Text = ...
    SINGLE_PREDICTOR: typing.Text = ...
    MULTI_PREDICTOR: typing.Text = ...
    TRAIN_INIT_PLAN_TYPE: typing.Text = ...
    TRAIN_PLAN_TYPE: typing.Text = ...
    SHAPE_INFO_BLOB: typing.Text = ...
    DEFERRED_BLOB_READER: typing.Text = ...

    def __init__(self,
        *,
        META_NET_DEF : typing.Optional[typing.Text] = ...,
        PREDICTOR_DBREADER : typing.Optional[typing.Text] = ...,
        PARAMETERS_BLOB_TYPE : typing.Optional[typing.Text] = ...,
        INPUTS_BLOB_TYPE : typing.Optional[typing.Text] = ...,
        OUTPUTS_BLOB_TYPE : typing.Optional[typing.Text] = ...,
        GLOBAL_INIT_NET_TYPE : typing.Optional[typing.Text] = ...,
        PREDICT_INIT_NET_TYPE : typing.Optional[typing.Text] = ...,
        PREDICT_NET_TYPE : typing.Optional[typing.Text] = ...,
        SINGLE_PREDICTOR : typing.Optional[typing.Text] = ...,
        MULTI_PREDICTOR : typing.Optional[typing.Text] = ...,
        TRAIN_INIT_PLAN_TYPE : typing.Optional[typing.Text] = ...,
        TRAIN_PLAN_TYPE : typing.Optional[typing.Text] = ...,
        SHAPE_INFO_BLOB : typing.Optional[typing.Text] = ...,
        DEFERRED_BLOB_READER : typing.Optional[typing.Text] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"DEFERRED_BLOB_READER",b"DEFERRED_BLOB_READER",u"GLOBAL_INIT_NET_TYPE",b"GLOBAL_INIT_NET_TYPE",u"INPUTS_BLOB_TYPE",b"INPUTS_BLOB_TYPE",u"META_NET_DEF",b"META_NET_DEF",u"MULTI_PREDICTOR",b"MULTI_PREDICTOR",u"OUTPUTS_BLOB_TYPE",b"OUTPUTS_BLOB_TYPE",u"PARAMETERS_BLOB_TYPE",b"PARAMETERS_BLOB_TYPE",u"PREDICTOR_DBREADER",b"PREDICTOR_DBREADER",u"PREDICT_INIT_NET_TYPE",b"PREDICT_INIT_NET_TYPE",u"PREDICT_NET_TYPE",b"PREDICT_NET_TYPE",u"SHAPE_INFO_BLOB",b"SHAPE_INFO_BLOB",u"SINGLE_PREDICTOR",b"SINGLE_PREDICTOR",u"TRAIN_INIT_PLAN_TYPE",b"TRAIN_INIT_PLAN_TYPE",u"TRAIN_PLAN_TYPE",b"TRAIN_PLAN_TYPE"]) -> bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"DEFERRED_BLOB_READER",b"DEFERRED_BLOB_READER",u"GLOBAL_INIT_NET_TYPE",b"GLOBAL_INIT_NET_TYPE",u"INPUTS_BLOB_TYPE",b"INPUTS_BLOB_TYPE",u"META_NET_DEF",b"META_NET_DEF",u"MULTI_PREDICTOR",b"MULTI_PREDICTOR",u"OUTPUTS_BLOB_TYPE",b"OUTPUTS_BLOB_TYPE",u"PARAMETERS_BLOB_TYPE",b"PARAMETERS_BLOB_TYPE",u"PREDICTOR_DBREADER",b"PREDICTOR_DBREADER",u"PREDICT_INIT_NET_TYPE",b"PREDICT_INIT_NET_TYPE",u"PREDICT_NET_TYPE",b"PREDICT_NET_TYPE",u"SHAPE_INFO_BLOB",b"SHAPE_INFO_BLOB",u"SINGLE_PREDICTOR",b"SINGLE_PREDICTOR",u"TRAIN_INIT_PLAN_TYPE",b"TRAIN_INIT_PLAN_TYPE",u"TRAIN_PLAN_TYPE",b"TRAIN_PLAN_TYPE"]) -> None: ...
global___PredictorConsts = PredictorConsts