Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[Scala] hide _move_var _move_mean _beta _gamma for visualization #6555

Merged
merged 2 commits into from
Jun 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ object Visualization {

// Internal helper to figure out if node should be hidden with hide_weights
def looksLikeWeight(name: String): Boolean = {
if (name.endsWith("_weight") || name.endsWith("_bias")) true
else false
if (name.endsWith("_weight") || name.endsWith("_bias")
|| name.endsWith("_beta") || name.endsWith("_gamma")
|| name.endsWith("_moving_var") || name.endsWith("_moving_mean")) { true } else { false }
}

// make nodes
Expand Down