Skip to content

Commit 34bb957

Browse files
Modified some namespaces (#3533)
* Added the MLAgents.Demonstrations namespace * Added the MLAgents.Editor namespace * Overrided the .demo.meta files due to the change in namespace * More namespace changes * Added the sidechannels namespace * Modified changelog and migrating docs
1 parent 78a218b commit 34bb957

File tree

112 files changed

+82
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+82
-53
lines changed

Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using UnityEngine;
22
using MLAgents;
33
using MLAgents.Sensors;
4+
using MLAgents.SideChannels;
45

56
public class Ball3DAgent : Agent
67
{

Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DHardAgent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using UnityEngine;
22
using MLAgents;
33
using MLAgents.Sensors;
4+
using MLAgents.SideChannels;
45

56
public class Ball3DHardAgent : Agent
67
{

Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerAgent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using UnityEngine;
22
using MLAgents;
33
using MLAgents.Sensors;
4+
using MLAgents.SideChannels;
45

56
public class BouncerAgent : Agent
67
{

Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridArea.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using UnityEngine;
33
using System.Linq;
44
using MLAgents;
5+
using MLAgents.SideChannels;
56

67

78
public class GridArea : MonoBehaviour

Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using Barracuda;
55
using System.IO;
66
using MLAgents;
7+
using MLAgents.Policies;
78

89
namespace MLAgentsExamples
910
{

Project/Assets/ML-Agents/Examples/Soccer/Scripts/AgentSoccer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using UnityEngine;
33
using MLAgents;
4+
using MLAgents.Policies;
45

56
public class AgentSoccer : Agent
67
{

Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using UnityEngine.UI;
33
using MLAgents;
44
using MLAgents.Sensors;
5+
using MLAgents.SideChannels;
56

67
public class TennisAgent : Agent
78
{

Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using MLAgents;
33
using MLAgentsExamples;
44
using MLAgents.Sensors;
5+
using MLAgents.SideChannels;
56

67
public class WalkerAgent : Agent
78
{

com.unity.ml-agents/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

com.unity.ml-agents/Editor/BehaviorParametersEditor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using MLAgents.Sensors;
22
using UnityEditor;
33
using Barracuda;
4+
using MLAgents.Policies;
45

56
namespace MLAgents.Editor
67
{
@@ -75,7 +76,7 @@ void DisplayFailedModelChecks()
7576
}
7677
if (brainParameters != null)
7778
{
78-
var failedChecks = InferenceBrain.BarracudaModelParamLoader.CheckModel(
79+
var failedChecks = Inference.BarracudaModelParamLoader.CheckModel(
7980
barracudaModel, brainParameters, sensorComponents);
8081
foreach (var check in failedChecks)
8182
{

0 commit comments

Comments
 (0)