Skip to content

Commit

Permalink
reorganize packages again
Browse files Browse the repository at this point in the history
  • Loading branch information
ShigekiKarita committed May 15, 2020
1 parent bd8928f commit 30b6103
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 31 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ And more:
- [ ] Rewrite C API example with typed bindings.
- [ ] Implement autograd, and simple training APIs in D.
- [ ] Support cloud TPU.
- [ ] Support dip1000.

## Requirements

Expand Down
4 changes: 4 additions & 0 deletions deimos/dub.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "deimos",
"targetType": "library"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
49 changes: 18 additions & 31 deletions dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,26 @@
"description": "TF for D",
"license": "BSL-1.0",
"name": "tfd",
"targetType": "none",
"dependencies": {
"tfd:core": "*"
"tfd:deimos": "*"
},
"subPackages": [
{
"name": "deimos",
"sourcePaths": ["deimos"],
"importPaths": ["deimos"]
"subPackages": ["deimos"],
"dependencies": {
"mir-algorithm": "~>3.7.28",
"tfd:deimos": "*"
},
"buildTypes": {
"unittest": {
"libs": ["tensorflow"],
"buildOptions": ["unittests", "debugMode", "debugInfo"],
"versions": ["tfd_test"],
"dflags": ["-preview=dip1008"]
},
{
"name": "core",
"targetType": "library",
"sourcePaths": ["core/source"],
"importPaths": ["core/source"],
"dependencies": {
"mir-algorithm": "~>3.7.28",
"tfd:deimos": "*"
},
"buildTypes": {
"unittest": {
"libs": ["tensorflow"],
"buildOptions": ["unittests", "debugMode", "debugInfo"],
"versions": ["tfd_test"],
"dflags": ["-preview=dip1008"]
},
"unittest-cov": {
"libs": ["tensorflow"],
"buildOptions": ["unittests", "coverage", "debugMode", "debugInfo"],
"versions": ["tfd_test"],
"dflags": ["-preview=dip1008"]
}
}
"unittest-cov": {
"libs": ["tensorflow"],
"buildOptions": ["unittests", "coverage", "debugMode", "debugInfo"],
"versions": ["tfd_test"],
"dflags": ["-preview=dip1008"]
}
]
}
}
Binary file modified example/graph_import/add-d.bin
Binary file not shown.
Binary file modified example/graph_import/add-py.bin
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 30b6103

Please sign in to comment.