Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 1fbcae3

Browse files
committed
Add Autoencoder CMake
1 parent 1555422 commit 1fbcae3

File tree

6 files changed

+37
-1
lines changed

6 files changed

+37
-1
lines changed

Autoencoder/CMakeLists.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
add_executable(Autoencoder
2+
Autoencoder1D/main.swift
3+
Autoencoder2D/main.swift
4+
VAE1D/main.swift)
5+
target_link_libraries(Autoencoder PRIVATE
6+
Datasets
7+
ModelSupport)
8+
9+
10+
install(TARGETS Autoencoder
11+
DESTINATION bin)

Autoencoder/File.swift

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//
2+
// File.swift
3+
//
4+
//
5+
// Created by Vaibhav Balloli on 13/04/20.
6+
//
7+
8+
import Foundation

Autoencoder/VAE1D/main.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@ for epoch in 1...epochCount {
127127

128128
optimizer.update(&vae, along: 𝛁model)
129129
}
130-
}
130+
}

Autoencoder/VAE2D/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//
2+
// File.swift
3+
//
4+
//
5+
// Created by Vaibhav Balloli on 29/03/20.
6+
//
7+
8+
import Foundation

Autoencoder/VAE2D/main.swift

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//
2+
// File.swift
3+
//
4+
//
5+
// Created by Vaibhav Balloli on 29/03/20.
6+
//
7+
8+
import Foundation

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ set_target_properties(SwiftProtobuf PROPERTIES
6868
INTERFACE_INCLUDE_DIRECTORIES ${BINARY_DIR}/swift)
6969
add_dependencies(SwiftProtobuf swift-protobuf-build)
7070

71+
add_subdirectory(Autoencoder)
7172
add_subdirectory(Support)
7273
add_subdirectory(Batcher)
7374
add_subdirectory(Datasets)

0 commit comments

Comments
 (0)