您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
36 行
867 B
36 行
867 B
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Unity.MLAgents.CommunicatorObjects";
|
|
package communicator_objects;
|
|
|
|
enum CompressionTypeProto {
|
|
NONE = 0;
|
|
PNG = 1;
|
|
}
|
|
|
|
enum ObservationTypeProto {
|
|
DEFAULT = 0;
|
|
GOAL = 1;
|
|
REWARD = 2;
|
|
MESSAGE = 3;
|
|
}
|
|
|
|
message ObservationProto {
|
|
message FloatData {
|
|
repeated float data = 1;
|
|
}
|
|
|
|
repeated int32 shape = 1;
|
|
CompressionTypeProto compression_type = 2;
|
|
oneof observation_data {
|
|
bytes compressed_data = 3;
|
|
FloatData float_data = 4;
|
|
}
|
|
repeated int32 compressed_channel_mapping = 5;
|
|
repeated int32 dimension_properties = 6;
|
|
ObservationTypeProto observation_type = 7;
|
|
// Optional name of the observation.
|
|
// This will be set to the ISensor name when writing,
|
|
// and read into the ObservationSpec in the low-level API
|
|
string name = 8;
|
|
}
|