xref: /aosp_15_r20/external/tensorflow/tensorflow/core/protobuf/tpu/dynamic_padding.proto (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1syntax = "proto3";
2
3option cc_enable_arenas = true;
4
5package tensorflow.tpu;
6
7// A mapping between the dynamic shape dimension of an input and the arg that
8// represents the real shape.
9message PaddingMap {
10  // Input arg index with dynamic shapes.
11  int32 arg_index = 1;
12
13  // The dynamic shape dimension index.
14  int32 shape_index = 2;
15
16  // The arg index that dynamic dimension maps to, which represents the value
17  // of the real shape.
18  int32 padding_arg_index = 3;
19}
20