Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit f4f419f

Browse files
authored
Add spacing in the code snippet.
1 parent 86bc5a2 commit f4f419f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ import TensorFlow
2424

2525
struct Model: Layer {
2626
var l1, l2: Dense<Float>
27+
2728
init(hiddenSize: Int) {
2829
l1 = Dense<Float>(inputSize: 2, outputSize: hiddenSize, activation: relu)
2930
l2 = Dense<Float>(inputSize: hiddenSize, outputSize: 1, activation: relu)
3031
}
32+
3133
@differentiable(wrt: (self, input))
3234
func applied(to input: Tensor<Float>) -> Tensor<Float> {
3335
let h1 = l1.applied(to: input)

0 commit comments

Comments
 (0)