Skip to content

Commit d934941

Browse files
authored
textformat-spec: add example
1 parent 05baf19 commit d934941

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

content/reference/protobuf/textformat-spec.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ and may change based on further discussion and review. While an effort has been
2222
made to keep text formats consistent across supported languages,
2323
incompatibilities are likely to exist. {{% /alert %}}
2424

25+
## Example
26+
27+
```textproto
28+
convolution_benchmark {
29+
label: "NHWC_128x20x20x56x160"
30+
input {
31+
dimension: [128, 56, 20, 20]
32+
data_type: DATA_HALF
33+
format: TENSOR_NHWC
34+
}
35+
}
36+
```
37+
2538
## Parsing Overview {#parsing}
2639

2740
The language elements in this spec are split into lexical and syntactic

0 commit comments

Comments
 (0)