您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
113 行
4.3 KiB
113 行
4.3 KiB
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: mlagents/envs/communicator_objects/compressed_observation.proto
|
|
|
|
import sys
|
|
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
|
from google.protobuf.internal import enum_type_wrapper
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf import descriptor_pb2
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='mlagents/envs/communicator_objects/compressed_observation.proto',
|
|
package='communicator_objects',
|
|
syntax='proto3',
|
|
serialized_pb=_b('\n?mlagents/envs/communicator_objects/compressed_observation.proto\x12\x14\x63ommunicator_objects\"\x7f\n\x1a\x43ompressedObservationProto\x12\r\n\x05shape\x18\x01 \x03(\x05\x12\x44\n\x10\x63ompression_type\x18\x02 \x01(\x0e\x32*.communicator_objects.CompressionTypeProto\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c*)\n\x14\x43ompressionTypeProto\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03PNG\x10\x01\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3')
|
|
)
|
|
|
|
_COMPRESSIONTYPEPROTO = _descriptor.EnumDescriptor(
|
|
name='CompressionTypeProto',
|
|
full_name='communicator_objects.CompressionTypeProto',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='NONE', index=0, number=0,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='PNG', index=1, number=1,
|
|
options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
options=None,
|
|
serialized_start=218,
|
|
serialized_end=259,
|
|
)
|
|
_sym_db.RegisterEnumDescriptor(_COMPRESSIONTYPEPROTO)
|
|
|
|
CompressionTypeProto = enum_type_wrapper.EnumTypeWrapper(_COMPRESSIONTYPEPROTO)
|
|
NONE = 0
|
|
PNG = 1
|
|
|
|
|
|
|
|
_COMPRESSEDOBSERVATIONPROTO = _descriptor.Descriptor(
|
|
name='CompressedObservationProto',
|
|
full_name='communicator_objects.CompressedObservationProto',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='shape', full_name='communicator_objects.CompressedObservationProto.shape', index=0,
|
|
number=1, type=5, cpp_type=1, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='compression_type', full_name='communicator_objects.CompressedObservationProto.compression_type', index=1,
|
|
number=2, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='data', full_name='communicator_objects.CompressedObservationProto.data', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b(""),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=89,
|
|
serialized_end=216,
|
|
)
|
|
|
|
_COMPRESSEDOBSERVATIONPROTO.fields_by_name['compression_type'].enum_type = _COMPRESSIONTYPEPROTO
|
|
DESCRIPTOR.message_types_by_name['CompressedObservationProto'] = _COMPRESSEDOBSERVATIONPROTO
|
|
DESCRIPTOR.enum_types_by_name['CompressionTypeProto'] = _COMPRESSIONTYPEPROTO
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
CompressedObservationProto = _reflection.GeneratedProtocolMessageType('CompressedObservationProto', (_message.Message,), dict(
|
|
DESCRIPTOR = _COMPRESSEDOBSERVATIONPROTO,
|
|
__module__ = 'mlagents.envs.communicator_objects.compressed_observation_pb2'
|
|
# @@protoc_insertion_point(class_scope:communicator_objects.CompressedObservationProto)
|
|
))
|
|
_sym_db.RegisterMessage(CompressedObservationProto)
|
|
|
|
|
|
DESCRIPTOR.has_options = True
|
|
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects'))
|
|
# @@protoc_insertion_point(module_scope)
|