2. Agenda
19:00-19:15 Ingresso e Registrazione
19:15-19:30 Le principali novità del TF Dev Summit
(Simone Scardapane & Norman Di Palo)
19:30-19:50 Viewing Party
19:50-20:15 In Codice Ratio – Replica!
(Elena Nieddu)
20:15-21:00 News, Open Mic, Pizza, Birra & Networking!
11. Swift For TensorFlow
import Python
let np = Python.import("numpy")
let x = np.array([[1, 2], [3, 4]])
let y = np.array([11, 12])
print(x.dot(y)) // [29 67]
12. Swift For TensorFlow
import TensorFlow
struct MyModel: Layer {
var conv = Conv2D<Float>(filterShape: (5, 5, 3, 6))
var maxPool = MaxPool2D<Float>(poolSize: (2, 2), strides: (2, 2))
var flatten = Flatten<Float>()
var dense = Dense<Float>(inputSize: 16 * 5 * 5, outputSize: 10)
@differentiable
func applied(to input: Tensor<Float>, in context: Context) -> Tensor<Float> {
return input.sequenced(in: context, through: conv, maxPool, flatten, dense)
}
}
13. Altre novità
• Autograph
• TensorFlow Lite
• TensorFlow.js 1.0
• TensorFlow datasets! (finalmente)
• Novità in TensorBoard
• Molte novità per le community (TF SIG)
• …