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

Use batch first always #12

Merged
merged 10 commits into from
May 12, 2020
Merged

Use batch first always #12

merged 10 commits into from
May 12, 2020

Conversation

jostosh
Copy link
Collaborator

@jostosh jostosh commented May 2, 2020

  • All layers now have assume batch-first inputs and produce batch-first outputs. This impedes performance slightly for DenseSum, but offers easier integration with the rest of the tf.keras framework
  • Removed DimensionPermutation as it is no longer needed
  • Simplified API for PermuteAndPadScopes. Infer number of decompositions/scopes through the layer's inputs
  • Small fixes for get_config in some initializers
  • Bump tensorflow dep to 2.2
  • Update models in libspn_keras.models: add unsupervised flag to allow tensorflow.data.Dataset with only x (and no labels), also add optional infer_no_evidence to perform completion-by-posterior-marginal for unsupervised problems
  • Change name of NegativeLogMarginal to NegativeLogLikelihood
  • Update examples
  • Add EM learning for scale parameter of NormalLeaf
  • Remove BernoulliCondition
  • Remove NormalizationAxes and rename ZScoreNormalization to NormalizeStandardScore, only support sample-wise normalization
  • Increment version to 0.3

@jostosh jostosh merged commit 91fa196 into master May 12, 2020
@jostosh jostosh deleted the use-batch-first-always branch May 12, 2020 19:55
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