Skip to content

inference - fill 0s for done Agents #3232

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

Merged
merged 2 commits into from
Jan 15, 2020

Conversation

chriselion
Copy link
Contributor

No description provided.

@@ -90,6 +90,23 @@ public static TensorProxy TensorProxyFromBarracuda(Tensor src, string nameOverri
};
}

public static void FillTensorBatch(TensorProxy tensorProxy, int batch, float fillValue)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could do this as a method on TensorProxy, but it follows the convention in FillTensorWithRandomNormal (below)

Copy link
Contributor

@vincentpierre vincentpierre left a comment

Choose a reason for hiding this comment

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

👍 👍 👍

@chriselion chriselion merged commit d5a159f into develop-agentondone Jan 15, 2020
@vincentpierre vincentpierre deleted the develop-agentondone-sensor-infer branch January 15, 2020 23:30
vincentpierre added a commit that referenced this pull request Jan 16, 2020
* Removing the AgentOnDone call

* removing editor inspector field for ResetOnDone

* Documentation changes

* addressing comments

* addressing comments

* adding comments

* Migrating steps

* inference - fill 0s for done Agents (#3232)

* fill 0s for done agents

* docstrings

* Simplifying the code

* Removing GenerateSensorData

* Update docs/Migrating.md

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>

Co-authored-by: Chris Elion <celion@gmail.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2021
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