# A simple network that has "BiasAdd" + "Add" node { name: "Placeholder" op: "Placeholder" attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "shape" value { shape { dim { size: 1 } dim { size: 3 } dim { size: 3 } dim { size: 2 } } } } } node { name: "bias_add_01/bias" op: "Const" attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "value" value { tensor { dtype: DT_FLOAT tensor_shape { dim { size: 2 } } float_val: 1.0 float_val: -1.0 } } } } node { name: "bias_add_01" op: "BiasAdd" input: "Placeholder" input: "bias_add_01/bias" attr { key: "T" value { type: DT_FLOAT } } attr { key: "data_format" value { s: "NHWC" } } } node { name: "addparam" op: "Const" attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "value" value { tensor { dtype: DT_FLOAT tensor_shape { dim { size: 2 } } float_val: 2.0 } } } } node { name: "Add" op: "Add" input: "bias_add_01" input: "addparam" attr { key: "T" value { type: DT_FLOAT } } }