d8c279e1573ab16fa4c9ba7a89a0cc5012f0caac,garage/logger/tensor_board_output.py,TensorBoardOutput,_record_kv,#TensorBoardOutput#Any#Any#Any#,64
Before Change
elif isinstance(value, plt.Figure):
self._writer.add_figure(key, value, step)
elif isinstance(value, tfp.distributions.Distribution):
samples = tf.get_default_session().run(
value.sample(self._histogram_samples))
self._writer.add_histogram(key, samples, step)
def _record_graph(self, graph):
graph_def = graph.as_graph_def(add_shapes=True)
After Change
elif isinstance(value, scipy.stats._distn_infrastructure.rv_frozen):
shape = (self._histogram_samples, ) + value.mean().shape
self._writer.add_histogram(key, value.rvs(shape), step)
elif isinstance(value, scipy.stats._multivariate.multi_rv_frozen):
self._writer.add_histogram(key, value.rvs(self._histogram_samples),
step)
elif isinstance(value, Histogram):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rlworkgroup/garage
Commit Name: d8c279e1573ab16fa4c9ba7a89a0cc5012f0caac
Time: 2019-03-28
Author: ryanjulian@users.noreply.github.com
File Name: garage/logger/tensor_board_output.py
Class Name: TensorBoardOutput
Method Name: _record_kv
Project Name: rail-berkeley/softlearning
Commit Name: 5d97c32fba6dab5ff8009bf350a4209f3ea5684d
Time: 2018-05-22
Author: kristian.hartikainen@gmail.com
File Name: sac/policies/gmm.py
Class Name: GMMPolicy
Method Name: get_actions
Project Name: rail-berkeley/softlearning
Commit Name: 459441e166ebcd176698041e260d4f467652e7ac
Time: 2018-07-21
Author: kristian.hartikainen@gmail.com
File Name: softlearning/policies/latent_space_policy.py
Class Name: LatentSpacePolicy
Method Name: get_actions