1node { 2 name: "input" 3 op: "Placeholder" 4 device: "/device:CPU:0" 5 attr { 6 key: "dtype" 7 value { 8 type: DT_STRING 9 } 10 } 11 attr { 12 key: "shape" 13 value { 14 shape { 15 dim { 16 size: 10 17 } 18 } 19 } 20 } 21} 22node { 23 name: "indices" 24 op: "Placeholder" 25 device: "/device:CPU:0" 26 attr { 27 key: "dtype" 28 value { 29 type: DT_INT64 30 } 31 } 32 attr { 33 key: "shape" 34 value { 35 shape { 36 dim { 37 size: 3 38 } 39 } 40 } 41 } 42} 43node { 44 name: "axis" 45 op: "Const" 46 device: "/device:CPU:0" 47 attr { 48 key: "dtype" 49 value { 50 type: DT_INT32 51 } 52 } 53 attr { 54 key: "value" 55 value { 56 tensor { 57 dtype: DT_INT32 58 tensor_shape { 59 } 60 int_val: 0 61 } 62 } 63 } 64} 65node { 66 name: "output" 67 op: "GatherV2" 68 input: "input" 69 input: "indices" 70 input: "axis" 71 device: "/device:CPU:0" 72 attr { 73 key: "Taxis" 74 value { 75 type: DT_INT32 76 } 77 } 78 attr { 79 key: "Tindices" 80 value { 81 type: DT_INT64 82 } 83 } 84 attr { 85 key: "Tparams" 86 value { 87 type: DT_STRING 88 } 89 } 90} 91versions { 92 producer: 27 93} 94