Skip to content

Conversation

@ben-zoo
Copy link

@ben-zoo ben-zoo commented Jan 31, 2024

  • [loss_fn] use tf.transpose to broadcast 'loss_1' to 'const'
  • [_attack] define and use 'explicit_broadcast' to broadcast 'lower_bound,' 'upper_bound,' and 'upper_mask'

Ben Zoo added 3 commits January 31, 2024 16:00
* [loss_fn] use tf.transpose to broadcast 'loss_1' to 'const'
* [_attack] define and use 'explicit_broadcast' to broadcast 'lower_bound,' 'upper_bound,' and 'upper_mask'
* change parameter 'lr' in the constructor 'learning_rate'
* prepare function '_get_lr' to obtain the learning rate instead of directly accessing 'self.lr'
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.

1 participant