An open API service indexing awesome lists of open source software.

https://github.com/rozeappletree/swift4tensorflow

Swift and Swift for TensorFlow
https://github.com/rozeappletree/swift4tensorflow

data-structures deep-learning jupyter-notebooks machine-learning swift-package-manager swift5 tensorflow

Last synced: 6 months ago
JSON representation

Swift and Swift for TensorFlow

Awesome Lists containing this project

README

          

# swift4tensorflow

### Try your code in google collaboratory
[Open blank Swift Colaboratory](https://colab.research.google.com/github/tensorflow/swift/blob/master/notebooks/blank_swift.ipynb)

## Swift Basics

### 01-01 Part 1

- Shell commands
- Variables and constants
- Types of data
- Operators
- String interpolation
- Arrays, Dictionaries
- Conditional statements
- Loops
- Switch case

### 01-02 Part 2

- Functions
- Optionals and optional chaining
- Enumerations
- Structs
- Classes
- Properties and Static properties and methods
- Access control
- Polymorphism
- Type casting

### 01-03 Part 3

- Closures
- Protocols
- Extensions
- Protoccol extensions

---------------------------------------------------

## Build a Package/Library using SPM

**Outline**

1. Create library package - `hellolib`
2. Create executable package - `helloexec`
3. Import and access `hellolib` using `helloexec`
4. Import in [swift-jupyter notebooks](https://colab.research.google.com/github/tensorflow/swift/blob/master/notebooks/blank_swift.ipynb)

[Know more here](/03-creating-packages/Basic)

---------------------------------------------------

## Data Structures

- Array
- 2-Dimensional
- Stack
- Queue
- Simple
- Optimal
- Deque
- Simple
- Optimal