1node { 2 name : "x_const" 3 op : "Const" 4 attr { 5 key: "value" 6 value { 7 tensor { 8 dtype: DT_INT32 9 tensor_shape { dim { size: 1 } } 10 int_val: 1 11 } 12 } 13 } 14 attr { key : "dtype" value { type: DT_INT32 } } 15} 16node { 17 name : "y_const" 18 op : "Const" 19 attr { 20 key: "value" 21 value { 22 tensor { 23 dtype: DT_INT32 24 tensor_shape { dim { size: 1 } } 25 int_val: 2 26 } 27 } 28 } 29 attr { key: "dtype" value { type: DT_INT32 } } 30} 31node { 32 name : "x_y_sum" 33 op : "Add" 34 input : "x_const" 35 input : "y_const" 36 attr { key : "T" value { type: DT_INT32 } } 37} 38node { 39 name : "z" 40 op : "SomeUnknownOp" 41 input : "x_const" 42} 43node { 44 name : "z_identity" 45 op : "Identity" 46 input : "z:1" 47 attr { key : "T" value { type: DT_INT32 } } 48} 49node { 50 name : "x_z_sum" 51 op : "Add" 52 input : "x_const" 53 input : "z_identity" 54 attr { key : "T" value { type: DT_INT32 } } 55} 56versions { 57 producer: 15 58} 59