您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
30 行
612 B
30 行
612 B
syntax = "proto3";
|
|
|
|
option csharp_namespace = "Unity.MLAgents.CommunicatorObjects";
|
|
package communicator_objects;
|
|
|
|
enum CompressionTypeProto {
|
|
NONE = 0;
|
|
PNG = 1;
|
|
}
|
|
|
|
enum SensorTypeProto {
|
|
OBSERVATION = 0;
|
|
GOAL = 1;
|
|
REWARD = 2;
|
|
}
|
|
|
|
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;
|
|
SensorTypeProto sensor_type = 6;
|
|
}
|