Skip to content

Merge main branch to local branch #4

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

Merged
merged 5 commits into from
Oct 27, 2020
Merged

Conversation

JimClarke5
Copy link
Owner

No description provided.

karllessard and others added 5 commits October 9, 2020 13:27
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
@JimClarke5 JimClarke5 merged commit 09fc07e into JimClarke5:master Oct 27, 2020
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.

4 participants