Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

Add some missing layers commonly used for image processing #99

Merged
merged 7 commits into from
Nov 6, 2019

Conversation

Octogonapus
Copy link
Member

Description of the Change

This PR adds the AveragePooling2D, GlobalMaxPooling2D, SpatialDropout2D, UpSampling2D, and GlobalAveragePooling2D layers. This PR also fixes a logging problem with the kotlintest artifact and adds a new layer type, Layer.ModelLayer, for elementary TF 1.15 support.

Motivation

These layers are commonly used for image processing, which is our initial use case. Along the way, I also had to fix some problems with logging and TF 1.15 (see #98).

Verification Process

New tests. Tested some generated code manually. Added a new test that loads a model for transfer learning with mobilenet on TF 1.15.

Applicable Issues

None.

@Octogonapus Octogonapus self-assigned this Nov 1, 2019
@codecov-io
Copy link

Codecov Report

Merging #99 into master will increase coverage by 2.15%.
The diff coverage is 93.75%.

@@             Coverage Diff              @@
##             master      #99      +/-   ##
============================================
+ Coverage     89.67%   91.81%   +2.15%     
  Complexity        1        1              
============================================
  Files            76       77       +1     
  Lines          1587     1698     +111     
  Branches        175      187      +12     
============================================
+ Hits           1423     1559     +136     
+ Misses          100       71      -29     
- Partials         64       68       +4

@Octogonapus Octogonapus merged commit e2dda6d into master Nov 6, 2019
@Octogonapus Octogonapus deleted the feature/RGB/add_layers branch November 6, 2019 16:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants