This repository has been archived by the owner on Sep 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some missing layers commonly used for image processing (#99)
* Add AveragePooling2D * Add GlobalMaxPooling2D * Add SpatialDropout2D * Add UpSampling2D * Remove log4j.properties from kotlintest artifact * Add GlobalAveragePooling2D and add Layer.ModelLayer for TF 1.15.0 support * Use nearest interpolation if its null (for TF < v1.15)
- Loading branch information
1 parent
1724f49
commit e2dda6d
Showing
17 changed files
with
401 additions
and
4 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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
This file contains 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
This file contains 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
8 changes: 8 additions & 0 deletions
8
tf-data/src/main/kotlin/edu/wpi/axon/tfdata/layer/Interpolation.kt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package edu.wpi.axon.tfdata.layer | ||
|
||
/** | ||
* Values for the `interpolation` parameter for sampling-type layers. | ||
*/ | ||
enum class Interpolation(val value: String) { | ||
Nearest("nearest"), Bilinear("bilinear") | ||
} |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.