Chris Elion
4 年前
当前提交
d08eb8c3
共有 9 个文件被更改,包括 53 次插入 和 121 次删除
-
7com.unity.ml-agents/Runtime/Analytics/Events.cs
-
37com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs
-
12com.unity.ml-agents/Runtime/Sensors/BufferSensor.cs
-
17com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs
-
29com.unity.ml-agents/Runtime/Sensors/ISensor.cs
-
12com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs
-
2com.unity.ml-agents/Tests/Editor/Sensor/BufferSensorTest.cs
-
11com.unity.ml-agents/Runtime/Sensors/IDimensionPropertiesSensor.cs.meta
-
47com.unity.ml-agents/Runtime/Sensors/IDimensionPropertiesSensor.cs
|
|||
fileFormatVersion: 2 |
|||
guid: 297e9ec12d6de45adbcf6dea1a9de019 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
namespace Unity.MLAgents.Sensors |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// The Dimension property flags of the observations
|
|||
/// </summary>
|
|||
[System.Flags] |
|||
public enum DimensionProperty |
|||
{ |
|||
/// <summary>
|
|||
/// No properties specified.
|
|||
/// </summary>
|
|||
Unspecified = 0, |
|||
|
|||
/// <summary>
|
|||
/// No Property of the observation in that dimension. Observation can be processed with
|
|||
/// fully connected networks.
|
|||
/// </summary>
|
|||
None = 1, |
|||
|
|||
/// <summary>
|
|||
/// Means it is suitable to do a convolution in this dimension.
|
|||
/// </summary>
|
|||
TranslationalEquivariance = 2, |
|||
|
|||
/// <summary>
|
|||
/// Means that there can be a variable number of observations in this dimension.
|
|||
/// The observations are unordered.
|
|||
/// </summary>
|
|||
VariableSize = 4, |
|||
} |
|||
|
|||
|
|||
/// <summary>
|
|||
/// Sensor interface for sensors with special dimension properties.
|
|||
/// </summary>
|
|||
internal interface IDimensionPropertiesSensor |
|||
{ |
|||
/// <summary>
|
|||
/// Returns the array containing the properties of each dimensions of the
|
|||
/// observation. The length of the array must be equal to the rank of the
|
|||
/// observation tensor.
|
|||
/// </summary>
|
|||
/// <returns>The array of DimensionProperty</returns>
|
|||
DimensionProperty[] GetDimensionProperties(); |
|||
} |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue