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