Documentation fixes.

PiperOrigin-RevId: 342606143
This commit is contained in:
Alvaro Sanchez-Gonzalez
2020-11-16 12:10:09 +00:00
committed by Saran Tunyasuvunakool
parent 2d3d6cb018
commit 897a86f4a5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ class LearnedSimulator(snt.AbstractModule):
def get_predicted_and_target_normalized_accelerations(
self, next_position, position_sequence_noise, position_sequence,
n_particles_per_example, global_context=None, particle_types=None): # pylint: disable=g-doc-args
"""Produces a model step, outputting the next position for each particle.
"""Produces normalized and predicted acceleration targets.
Args:
next_position: Tensor of shape [num_particles_in_batch, num_dimensions]
+2 -2
View File
@@ -45,8 +45,8 @@ def get_random_walk_noise_for_position_sequence(
# Integrate the noise in the velocity to the positions, assuming
# an Euler intergrator and a dt = 1, and adding no noise to the very first
# position (since that will only be used to calculate the first position#
# change.
# position (since that will only be used to calculate the first position
# change).
position_sequence_noise = tf.concat([
tf.zeros_like(velocity_sequence_noise[:, 0:1]),
tf.cumsum(velocity_sequence_noise, axis=1)], axis=1)