We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b326b15 commit c47d368Copy full SHA for c47d368
proto/net.proto
@@ -39,6 +39,14 @@ message Weights {
39
optional float min_val = 1;
40
optional float max_val = 2;
41
optional bytes params = 3;
42
+ enum Encoding {
43
+ UNKNOWN_ENCODING = 0;
44
+ LINEAR16 = 1;
45
+ FLOAT16 = 2;
46
+ BFLOAT16 = 3;
47
+ }
48
+ optional Encoding encoding = 4;
49
+ repeated uint32 dims = 5;
50
}
51
52
message ConvBlock {
@@ -362,7 +370,7 @@ message Format {
362
370
UNKNOWN = 0;
363
371
LINEAR16 = 1;
364
372
365
-
373
+ // Any encoding specified in a Layer overides this.
366
374
optional Encoding weights_encoding = 1;
367
375
// If network_format is missing, it's assumed to have
368
376
// INPUT_CLASSICAL_112_PLANE / OUTPUT_CLASSICAL / NETWORK_CLASSICAL format.
0 commit comments