-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MLA-1634] Remove SensorComponent.GetObservationShape() #5172
Conversation
@@ -18,7 +18,7 @@ public class Match3SensorTests | |||
public void TestVectorObservations() | |||
{ | |||
var boardString = | |||
@"000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not look correct. (The indent I mean)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
@@ -18,7 +18,7 @@ public class Match3SensorTests | |||
public void TestVectorObservations() | |||
{ | |||
var boardString = | |||
@"000 | |||
@"000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intended?
(There's a few more below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, coding package reformatted them (and a few other files). Will revert.
Proposed change(s)
This started out as a change to replace GetObservationShape() with an ObservationSpec. But we stopped calling GetObservationShape when checking models a while ago, and now just create the sensor. So remove the whole thing from the interface.
Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)
Types of change(s)
Checklist
Other comments