Skip to content

Conversation

chriselion
Copy link
Contributor

Proposed change(s)

Describe the changes made in this PR.

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (please describe)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

@chriselion chriselion changed the base branch from main to v2-staging March 10, 2021 22:25
@chriselion chriselion changed the title Csharp obs spec ObservationSpec proposal Mar 10, 2021
/// </summary>
public struct DimensionInfo
{
public int Rank;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public int Rank;
public int Size;

{
public ObservationType ObservationType;
public TensorShape Shape;
public DimensionProperty[] DimensionProperties;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if we are going the TensorShape route, we should also have DimensionProperties be a struct. This way the entire ObservationSpec is blittable.

@chriselion
Copy link
Contributor Author

See #5127 for the full PR

@chriselion chriselion closed this Mar 16, 2021
@chriselion chriselion deleted the csharp-obs-spec branch May 25, 2021 18:12
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants