GitHub
4 年前
当前提交
c556335e
共有 17 个文件被更改,包括 152 次插入 和 14 次删除
-
8com.unity.ml-agents.extensions/Runtime/Match3/Match3Sensor.cs
-
9com.unity.ml-agents.extensions/Runtime/Sensors/GridSensor.cs
-
9com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsBodySensor.cs
-
5com.unity.ml-agents/Runtime/Analytics/Events.cs
-
8com.unity.ml-agents/Runtime/Analytics/InferenceAnalytics.cs
-
8com.unity.ml-agents/Runtime/Sensors/BufferSensor.cs
-
9com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs
-
8com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs
-
9com.unity.ml-agents/Runtime/Sensors/Reflection/ReflectionSensorBase.cs
-
9com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs
-
9com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs
-
8com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs
-
1com.unity.ml-agents/Tests/Editor/Analytics/InferenceAnalyticsTests.cs
-
9com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs
-
15com.unity.ml-agents/Tests/Editor/Sensor/StackingSensorTests.cs
-
39com.unity.ml-agents/Runtime/Sensors/IBuiltInSensor.cs
-
3com.unity.ml-agents/Runtime/Sensors/IBuiltInSensor.cs.meta
|
|||
namespace Unity.MLAgents.Sensors |
|||
{ |
|||
/// <summary>
|
|||
/// Identifiers for "built in" sensor types.
|
|||
/// These are only used for analytics, and should not be used for any runtime decisions.
|
|||
///
|
|||
/// NOTE: Do not renumber these, since the values are used for analytics. Renaming is allowed though.
|
|||
/// </summary>
|
|||
public enum BuiltInSensorType |
|||
{ |
|||
Unknown = 0, |
|||
VectorSensor = 1, |
|||
// Note that StackingSensor actually returns the wrapped sensor's type
|
|||
StackingSensor = 2, |
|||
RayPerceptionSensor = 3, |
|||
ReflectionSensor = 4, |
|||
CameraSensor = 5, |
|||
RenderTextureSensor = 6, |
|||
BufferSensor = 7, |
|||
PhysicsBodySensor = 8, |
|||
Match3Sensor = 9, |
|||
GridSensor = 10 |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Interface for sensors that are provided as part of ML-Agents.
|
|||
/// User-implemented sensors don't need to use this interface.
|
|||
/// </summary>
|
|||
public interface IBuiltInSensor |
|||
{ |
|||
/// <summary>
|
|||
/// Return the corresponding BuiltInSensorType for the sensor.
|
|||
/// </summary>
|
|||
/// <returns>A BuiltInSensorType corresponding to the sensor.</returns>
|
|||
BuiltInSensorType GetBuiltInSensorType(); |
|||
} |
|||
|
|||
|
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: c0c4a98bf1c941b381917cb65209beee |
|||
timeCreated: 1611096525 |
撰写
预览
正在加载...
取消
保存
Reference in new issue