File: prof_dag_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 (126 lines) | stat: -rw-r--r-- 5,438 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
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
"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import typing
import typing_extensions

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

class TwoNumberStatsProto(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    MEAN_FIELD_NUMBER: int
    STDDEV_FIELD_NUMBER: int
    COUNT_FIELD_NUMBER: int
    mean: float = ...
    stddev: float = ...
    count: int = ...

    def __init__(self,
        *,
        mean : typing.Optional[float] = ...,
        stddev : typing.Optional[float] = ...,
        count : typing.Optional[int] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"count",b"count",u"mean",b"mean",u"stddev",b"stddev"]) -> bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"count",b"count",u"mean",b"mean",u"stddev",b"stddev"]) -> None: ...
global___TwoNumberStatsProto = TwoNumberStatsProto

class BlobProfile(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    NAME_FIELD_NUMBER: int
    BYTES_USED_FIELD_NUMBER: int
    name: typing.Text = ...

    @property
    def bytes_used(self) -> global___TwoNumberStatsProto: ...

    def __init__(self,
        *,
        name : typing.Optional[typing.Text] = ...,
        bytes_used : typing.Optional[global___TwoNumberStatsProto] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"bytes_used",b"bytes_used",u"name",b"name"]) -> bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"bytes_used",b"bytes_used",u"name",b"name"]) -> None: ...
global___BlobProfile = BlobProfile

class ProfDAGProto(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    NAME_FIELD_NUMBER: int
    MEAN_FIELD_NUMBER: int
    STDDEV_FIELD_NUMBER: int
    EXECUTION_TIME_FIELD_NUMBER: int
    OUTPUT_PROFILE_FIELD_NUMBER: int
    EXTRA_INFO_FIELD_NUMBER: int
    name: typing.Text = ...
    mean: float = ...
    stddev: float = ...
    extra_info: google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text] = ...

    @property
    def execution_time(self) -> global___TwoNumberStatsProto: ...

    @property
    def output_profile(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BlobProfile]: ...

    def __init__(self,
        *,
        name : typing.Optional[typing.Text] = ...,
        mean : typing.Optional[float] = ...,
        stddev : typing.Optional[float] = ...,
        execution_time : typing.Optional[global___TwoNumberStatsProto] = ...,
        output_profile : typing.Optional[typing.Iterable[global___BlobProfile]] = ...,
        extra_info : typing.Optional[typing.Iterable[typing.Text]] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"execution_time",b"execution_time",u"mean",b"mean",u"name",b"name",u"stddev",b"stddev"]) -> bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"execution_time",b"execution_time",u"extra_info",b"extra_info",u"mean",b"mean",u"name",b"name",u"output_profile",b"output_profile",u"stddev",b"stddev"]) -> None: ...
global___ProfDAGProto = ProfDAGProto

class ProfDAGProtos(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    STATS_FIELD_NUMBER: int
    NET_NAME_FIELD_NUMBER: int
    OPS_STATS_FIELD_NUMBER: int
    net_name: typing.Text = ...

    @property
    def stats(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProfDAGProto]: ...

    @property
    def ops_stats(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OpProfile]: ...

    def __init__(self,
        *,
        stats : typing.Optional[typing.Iterable[global___ProfDAGProto]] = ...,
        net_name : typing.Optional[typing.Text] = ...,
        ops_stats : typing.Optional[typing.Iterable[global___OpProfile]] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"net_name",b"net_name"]) -> bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"net_name",b"net_name",u"ops_stats",b"ops_stats",u"stats",b"stats"]) -> None: ...
global___ProfDAGProtos = ProfDAGProtos

class OpProfile(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    IDX_FIELD_NUMBER: int
    NET_NAME_FIELD_NUMBER: int
    TYPE_FIELD_NUMBER: int
    EXEC_TIME_SECS_FIELD_NUMBER: int
    idx: typing.Text = ...
    net_name: typing.Text = ...
    type: typing.Text = ...
    exec_time_secs: float = ...

    def __init__(self,
        *,
        idx : typing.Optional[typing.Text] = ...,
        net_name : typing.Optional[typing.Text] = ...,
        type : typing.Optional[typing.Text] = ...,
        exec_time_secs : typing.Optional[float] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"exec_time_secs",b"exec_time_secs",u"idx",b"idx",u"net_name",b"net_name",u"type",b"type"]) -> bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"exec_time_secs",b"exec_time_secs",u"idx",b"idx",u"net_name",b"net_name",u"type",b"type"]) -> None: ...
global___OpProfile = OpProfile