Merge main branch to local branch#4
Merged
JimClarke5 merged 5 commits intoJimClarke5:masterfrom Oct 27, 2020
Merged
Conversation
empty string array is a valid tag. TF 1.x model does not have any tags
* Remove keras package. In issue #109, we decided to work toward a single framework API for now. * Created tensorflow-framework/README.md and linked it from the main readme.
* Initial checkin of Keras Optimzers and helper classes. Fixed dependencies in pom.xml * Added static final NAME to replace hardcoded String in the create method. This allows the NAME to be used elsewhere instead of hardcoding the string. * Changed of method to use the DataType NAME attribute rather than hardcoding the string. added methods isFloating(), isInteger(), isNUmeric(), isBoolean() and isString() * Added method WriteFieldWithInitializer to output a "final static String OP_NAME" to each generated operation. * Added tf.nn.softmaxCrossEntropyWitLogits() and tf.nn.raw.softmaxCrossEntropyWitLogits() Added tf.nn.sparesSoftmaxCrossEntropyWithLogits() and tf.nn.raw.sparesSoftmaxCrossEntropyWithLogits() Added tf.nn.sigmoidCrossEntropyWithLogits() * Moved SoftmaxCrossEntropyWithLogits and SparseSoftmaxCrossEntropyWithLogits to org.tensorflow.op.nn.raw * Generated classes now have public static final String OP_NAME = "XXXXXXXX"; * Generated classes now have public static final String OP_NAME = "XXXXXXXX"; * fix dependencies for other Tensorflow Java modules * formatting fix * Fix ctors with name to properly pass the name to the the super ctor. * change asserts to IllegalArgumentException fix javadoc, fix casts * change asserts to IllegalArgumentException * Moved back to tests * Moved SoftmaxCrossEntropyWithLogits.java and SparseSoftmaxCrossEntropyWithLogits.java to nn.raw, added new versions of these to NnOps * Deleted files that are not necessary yet * Added nn.raw group for softmaxCrossEntropyWithLogits() and sparseSoftmaxCrossEntropyWithLogits() * Added nn.raw group for softmaxCrossEntropyWithLogits() and sparseSoftmaxCrossEntropyWithLogits() * Refactor NN into individual operations under org.tensorflow.op.nn. Fix JavaDoc. Change from snake case to camel case. * Refactor NN into individual operations under org.tensorflow.op.nn. Fix JavaDoc. Change from snake case to camel case. * Reformatted code * Added sub scope * Miscellaneous fixes based on review comments. * Fixed op_generator.cc to remove a spurious new line in the generated Java files for some Ops. This also resulted in new generated source that are also committed. * Changed back to non-generic Operand until we resolve how to handle generics. * Regenerated due to creation of SoftmaxCrossEntropyWithLogits.java, SigmoidCrossEntropyWithLogits.java, and SparseSoftmaxCrossEntropyWithLogits.java under package org.tensorflow.op.nn in * change snake case to camel case. format code * clean upd warning, format code * Added Adamax, Ftrl, and Nadam Optimizers. Added Optimizers enum for easy inclusion of a default optimizer. Cleaned up JavaDoc * Removed optimize classes from tensorflow-keras, moved optimizer test cases to framework. Created Tests for GradientDescent and Momentum * Fixed generics * Fixed from Unit test results * added @SuppressWarnings("unchecked") on Variable array * Added Support for evaluating TFloat16 * Add Activations * Remove no-arg CTORs * Fix Unit Tests to include positive and negative numbers on input. * Modify JavaDoc indicating Linear activation is also known as Identity activation * Changed DEFAULT values from private to public * Fixed last sum to be over 'e' instead of 'input' * Added tests for various parameter constructs. * added tests for 1D and 3D input * Change snake case to camel case * JavaDoc fixes * Add TFloating family * Add JavaDoc * Changed to TFloating where appropriate. Misc fixes to JavaDoc. In ReLU, change to assign to new variable 'lInput' rather than change the 'input' parameter. * Remove the test of int arguments for those classes changed to TFloating type, as they would no longer compile. * Remove the test of int arguments for those classes changed to TFloating type, as they would no longer compile. * Make LeakyRelu visible so that it is included in tf.nn. * Remove TNumber import * Add tf.nn.leakyRelu operation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.