Skip to content
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

PyTorch API changes #12

Merged
merged 3 commits into from
Mar 11, 2020
Merged

Conversation

karl-schulz
Copy link
Collaborator

No description provided.

@@ -120,7 +120,9 @@ def load_state_dict(self, state):

def _to_saliency_map(capacity, shape=None, data_format='channels_last'):
"""
Converts the layer capacity (in nats) to a saliency map (in bits) of the given shape .
Converts the layer capacity (in nats) to a saliency map (in bits) of the given shape.
Copy link
Member

Choose a reason for hiding this comment

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

both pytorch and tensorflow have a to_saliency_map which handle the data_format.

@karl-schulz karl-schulz merged commit e188428 into BioroboticsLab:master Mar 11, 2020
karl-schulz added a commit to karl-schulz/IBA that referenced this pull request Mar 11, 2020
Merge pull request BioroboticsLab#12 from karl-schulz/master
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants