meta_info_def { stripped_op_list { op { name: "Add" input_arg { name: "x" type_attr: "T" } input_arg { name: "y" type_attr: "T" } output_arg { name: "z" type_attr: "T" } attr { name: "T" type: "type" allowed_values { list { type: DT_BFLOAT16 type: DT_HALF type: DT_FLOAT type: DT_DOUBLE type: DT_UINT8 type: DT_INT8 type: DT_INT16 type: DT_INT32 type: DT_INT64 type: DT_COMPLEX64 type: DT_COMPLEX128 type: DT_STRING } } } } op { name: "Assign" input_arg { name: "ref" type_attr: "T" is_ref: true } input_arg { name: "value" type_attr: "T" } output_arg { name: "output_ref" type_attr: "T" is_ref: true } attr { name: "T" type: "type" } attr { name: "validate_shape" type: "bool" default_value { b: true } } attr { name: "use_locking" type: "bool" default_value { b: true } } allows_uninitialized_input: true } op { name: "Const" output_arg { name: "output" type_attr: "dtype" } attr { name: "value" type: "tensor" } attr { name: "dtype" type: "type" } } op { name: "Identity" input_arg { name: "input" type_attr: "T" } output_arg { name: "output" type_attr: "T" } attr { name: "T" type: "type" } } op { name: "MatMul" input_arg { name: "a" type_attr: "T" } input_arg { name: "b" type_attr: "T" } output_arg { name: "product" type_attr: "T" } attr { name: "transpose_a" type: "bool" default_value { b: false } } attr { name: "transpose_b" type: "bool" default_value { b: false } } attr { name: "T" type: "type" allowed_values { list { type: DT_BFLOAT16 type: DT_HALF type: DT_FLOAT type: DT_DOUBLE type: DT_INT32 type: DT_COMPLEX64 type: DT_COMPLEX128 } } } } op { name: "Mul" input_arg { name: "x" type_attr: "T" } input_arg { name: "y" type_attr: "T" } output_arg { name: "z" type_attr: "T" } attr { name: "T" type: "type" allowed_values { list { type: DT_BFLOAT16 type: DT_HALF type: DT_FLOAT type: DT_DOUBLE type: DT_UINT8 type: DT_INT8 type: DT_UINT16 type: DT_INT16 type: DT_INT32 type: DT_INT64 type: DT_COMPLEX64 type: DT_COMPLEX128 } } } is_commutative: true } op { name: "NoOp" } op { name: "Placeholder" output_arg { name: "output" type_attr: "dtype" } attr { name: "dtype" type: "type" } attr { name: "shape" type: "shape" default_value { shape { unknown_rank: true } } } } op { name: "RandomStandardNormal" input_arg { name: "shape" type_attr: "T" } output_arg { name: "output" type_attr: "dtype" } attr { name: "seed" type: "int" default_value { i: 0 } } attr { name: "seed2" type: "int" default_value { i: 0 } } attr { name: "dtype" type: "type" allowed_values { list { type: DT_HALF type: DT_BFLOAT16 type: DT_FLOAT type: DT_DOUBLE } } } attr { name: "T" type: "type" allowed_values { list { type: DT_INT32 type: DT_INT64 } } } is_stateful: true } op { name: "RestoreV2" input_arg { name: "prefix" type: DT_STRING } input_arg { name: "tensor_names" type: DT_STRING } input_arg { name: "shape_and_slices" type: DT_STRING } output_arg { name: "tensors" type_list_attr: "dtypes" } attr { name: "dtypes" type: "list(type)" has_minimum: true minimum: 1 } is_stateful: true } op { name: "SaveV2" input_arg { name: "prefix" type: DT_STRING } input_arg { name: "tensor_names" type: DT_STRING } input_arg { name: "shape_and_slices" type: DT_STRING } input_arg { name: "tensors" type_list_attr: "dtypes" } attr { name: "dtypes" type: "list(type)" has_minimum: true minimum: 1 } is_stateful: true } op { name: "VariableV2" output_arg { name: "ref" type_attr: "dtype" is_ref: true } attr { name: "shape" type: "shape" } attr { name: "dtype" type: "type" } attr { name: "container" type: "string" default_value { s: "" } } attr { name: "shared_name" type: "string" default_value { s: "" } } is_stateful: true } } tensorflow_version: "1.8.0" tensorflow_git_version: "v1.8.0-0-g93bc2e2072" } graph_def { node { name: "random_normal/shape" op: "Const" attr { key: "_output_shapes" value { list { shape { dim { size: 2 } } } } } attr { key: "dtype" value { type: DT_INT32 } } attr { key: "value" value { tensor { dtype: DT_INT32 tensor_shape { dim { size: 2 } } tensor_content: "\002\000\000\000\003\000\000\000" } } } } node { name: "random_normal/mean" op: "Const" attr { key: "_output_shapes" value { list { shape { } } } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "value" value { tensor { dtype: DT_FLOAT tensor_shape { } float_val: 0.0 } } } } node { name: "random_normal/stddev" op: "Const" attr { key: "_output_shapes" value { list { shape { } } } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "value" value { tensor { dtype: DT_FLOAT tensor_shape { } float_val: 1.0 } } } } node { name: "random_normal/RandomStandardNormal" op: "RandomStandardNormal" input: "random_normal/shape" attr { key: "T" value { type: DT_INT32 } } attr { key: "_output_shapes" value { list { shape { dim { size: 2 } dim { size: 3 } } } } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "seed" value { i: 87654321 } } attr { key: "seed2" value { i: 1 } } } node { name: "random_normal/mul" op: "Mul" input: "random_normal/RandomStandardNormal" input: "random_normal/stddev" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_output_shapes" value { list { shape { dim { size: 2 } dim { size: 3 } } } } } } node { name: "random_normal" op: "Add" input: "random_normal/mul" input: "random_normal/mean" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_output_shapes" value { list { shape { dim { size: 2 } dim { size: 3 } } } } } } node { name: "Variable" op: "VariableV2" attr { key: "_output_shapes" value { list { shape { dim { size: 2 } dim { size: 3 } } } } } attr { key: "container" value { s: "" } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "shape" value { shape { dim { size: 2 } dim { size: 3 } } } } attr { key: "shared_name" value { s: "" } } } node { name: "Variable/Assign" op: "Assign" input: "Variable" input: "random_normal" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_class" value { list { s: "loc:@Variable" } } } attr { key: "_output_shapes" value { list { shape { dim { size: 2 } dim { size: 3 } } } } } attr { key: "use_locking" value { b: true } } attr { key: "validate_shape" value { b: true } } } node { name: "Variable/read" op: "Identity" input: "Variable" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_class" value { list { s: "loc:@Variable" } } } attr { key: "_output_shapes" value { list { shape { dim { size: 2 } dim { size: 3 } } } } } } node { name: "random_normal_1/shape" op: "Const" attr { key: "_output_shapes" value { list { shape { dim { size: 2 } } } } } attr { key: "dtype" value { type: DT_INT32 } } attr { key: "value" value { tensor { dtype: DT_INT32 tensor_shape { dim { size: 2 } } tensor_content: "\003\000\000\000\001\000\000\000" } } } } node { name: "random_normal_1/mean" op: "Const" attr { key: "_output_shapes" value { list { shape { } } } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "value" value { tensor { dtype: DT_FLOAT tensor_shape { } float_val: 0.0 } } } } node { name: "random_normal_1/stddev" op: "Const" attr { key: "_output_shapes" value { list { shape { } } } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "value" value { tensor { dtype: DT_FLOAT tensor_shape { } float_val: 1.0 } } } } node { name: "random_normal_1/RandomStandardNormal" op: "RandomStandardNormal" input: "random_normal_1/shape" attr { key: "T" value { type: DT_INT32 } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "seed" value { i: 87654321 } } attr { key: "seed2" value { i: 1 } } } node { name: "random_normal_1/mul" op: "Mul" input: "random_normal_1/RandomStandardNormal" input: "random_normal_1/stddev" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } } node { name: "random_normal_1" op: "Add" input: "random_normal_1/mul" input: "random_normal_1/mean" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } } node { name: "Variable_1" op: "VariableV2" attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } attr { key: "container" value { s: "" } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "shape" value { shape { dim { size: 3 } dim { size: 1 } } } } attr { key: "shared_name" value { s: "" } } } node { name: "Variable_1/Assign" op: "Assign" input: "Variable_1" input: "random_normal_1" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_class" value { list { s: "loc:@Variable_1" } } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } attr { key: "use_locking" value { b: true } } attr { key: "validate_shape" value { b: true } } } node { name: "Variable_1/read" op: "Identity" input: "Variable_1" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_class" value { list { s: "loc:@Variable_1" } } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } } node { name: "input" op: "Placeholder" attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 2 } } } } } attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "shape" value { shape { dim { size: 3 } dim { size: 2 } } } } } node { name: "MatMul" op: "MatMul" input: "input" input: "Variable/read" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 3 } } } } } attr { key: "transpose_a" value { b: false } } attr { key: "transpose_b" value { b: false } } } node { name: "MatMul_1" op: "MatMul" input: "MatMul" input: "Variable_1/read" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } attr { key: "transpose_a" value { b: false } } attr { key: "transpose_b" value { b: false } } } node { name: "init" op: "NoOp" input: "^Variable/Assign" input: "^Variable_1/Assign" } node { name: "save/Const" op: "Const" attr { key: "_output_shapes" value { list { shape { } } } } attr { key: "dtype" value { type: DT_STRING } } attr { key: "value" value { tensor { dtype: DT_STRING tensor_shape { } string_val: "model" } } } } node { name: "save/SaveV2/tensor_names" op: "Const" attr { key: "_output_shapes" value { list { shape { dim { size: 2 } } } } } attr { key: "dtype" value { type: DT_STRING } } attr { key: "value" value { tensor { dtype: DT_STRING tensor_shape { dim { size: 2 } } string_val: "Variable" string_val: "Variable_1" } } } } node { name: "save/SaveV2/shape_and_slices" op: "Const" attr { key: "_output_shapes" value { list { shape { dim { size: 2 } } } } } attr { key: "dtype" value { type: DT_STRING } } attr { key: "value" value { tensor { dtype: DT_STRING tensor_shape { dim { size: 2 } } string_val: "" string_val: "" } } } } node { name: "save/SaveV2" op: "SaveV2" input: "save/Const" input: "save/SaveV2/tensor_names" input: "save/SaveV2/shape_and_slices" input: "Variable" input: "Variable_1" attr { key: "dtypes" value { list { type: DT_FLOAT type: DT_FLOAT } } } } node { name: "save/control_dependency" op: "Identity" input: "save/Const" input: "^save/SaveV2" attr { key: "T" value { type: DT_STRING } } attr { key: "_class" value { list { s: "loc:@save/Const" } } } attr { key: "_output_shapes" value { list { shape { } } } } } node { name: "save/RestoreV2/tensor_names" op: "Const" device: "/device:CPU:0" attr { key: "_output_shapes" value { list { shape { dim { size: 2 } } } } } attr { key: "dtype" value { type: DT_STRING } } attr { key: "value" value { tensor { dtype: DT_STRING tensor_shape { dim { size: 2 } } string_val: "Variable" string_val: "Variable_1" } } } } node { name: "save/RestoreV2/shape_and_slices" op: "Const" device: "/device:CPU:0" attr { key: "_output_shapes" value { list { shape { dim { size: 2 } } } } } attr { key: "dtype" value { type: DT_STRING } } attr { key: "value" value { tensor { dtype: DT_STRING tensor_shape { dim { size: 2 } } string_val: "" string_val: "" } } } } node { name: "save/RestoreV2" op: "RestoreV2" input: "save/Const" input: "save/RestoreV2/tensor_names" input: "save/RestoreV2/shape_and_slices" device: "/device:CPU:0" attr { key: "_output_shapes" value { list { shape { unknown_rank: true } shape { unknown_rank: true } } } } attr { key: "dtypes" value { list { type: DT_FLOAT type: DT_FLOAT } } } } node { name: "save/Assign" op: "Assign" input: "Variable" input: "save/RestoreV2" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_class" value { list { s: "loc:@Variable" } } } attr { key: "_output_shapes" value { list { shape { dim { size: 2 } dim { size: 3 } } } } } attr { key: "use_locking" value { b: true } } attr { key: "validate_shape" value { b: true } } } node { name: "save/Assign_1" op: "Assign" input: "Variable_1" input: "save/RestoreV2:1" attr { key: "T" value { type: DT_FLOAT } } attr { key: "_class" value { list { s: "loc:@Variable_1" } } } attr { key: "_output_shapes" value { list { shape { dim { size: 3 } dim { size: 1 } } } } } attr { key: "use_locking" value { b: true } } attr { key: "validate_shape" value { b: true } } } node { name: "save/restore_all" op: "NoOp" input: "^save/Assign" input: "^save/Assign_1" } versions { producer: 26 } } saver_def { filename_tensor_name: "save/Const:0" save_tensor_name: "save/control_dependency:0" restore_op_name: "save/restore_all" max_to_keep: 5 keep_checkpoint_every_n_hours: 10000.0 version: V2 } collection_def { key: "trainable_variables" value { bytes_list { value: "\n\nVariable:0\022\017Variable/Assign\032\017Variable/read:02\017random_normal:0" value: "\n\014Variable_1:0\022\021Variable_1/Assign\032\021Variable_1/read:02\021random_normal_1:0" } } } collection_def { key: "variables" value { bytes_list { value: "\n\nVariable:0\022\017Variable/Assign\032\017Variable/read:02\017random_normal:0" value: "\n\014Variable_1:0\022\021Variable_1/Assign\032\021Variable_1/read:02\021random_normal_1:0" } } }