1meta_info_def { 2 stripped_op_list { 3 op { 4 name: "Assign" 5 input_arg { 6 name: "ref" 7 type_attr: "T" 8 is_ref: true 9 } 10 input_arg { 11 name: "value" 12 type_attr: "T" 13 } 14 output_arg { 15 name: "output_ref" 16 type_attr: "T" 17 is_ref: true 18 } 19 attr { 20 name: "T" 21 type: "type" 22 } 23 attr { 24 name: "validate_shape" 25 type: "bool" 26 default_value { 27 b: true 28 } 29 } 30 attr { 31 name: "use_locking" 32 type: "bool" 33 default_value { 34 b: true 35 } 36 } 37 allows_uninitialized_input: true 38 } 39 op { 40 name: "AssignAdd" 41 input_arg { 42 name: "ref" 43 type_attr: "T" 44 is_ref: true 45 } 46 input_arg { 47 name: "value" 48 type_attr: "T" 49 } 50 output_arg { 51 name: "output_ref" 52 type_attr: "T" 53 is_ref: true 54 } 55 attr { 56 name: "T" 57 type: "type" 58 allowed_values { 59 list { 60 type: DT_FLOAT 61 type: DT_DOUBLE 62 type: DT_INT64 63 type: DT_INT32 64 type: DT_UINT8 65 type: DT_UINT16 66 type: DT_INT16 67 type: DT_INT8 68 type: DT_COMPLEX64 69 type: DT_COMPLEX128 70 type: DT_QINT8 71 type: DT_QUINT8 72 type: DT_QINT32 73 type: DT_HALF 74 } 75 } 76 } 77 attr { 78 name: "use_locking" 79 type: "bool" 80 default_value { 81 b: false 82 } 83 } 84 } 85 op { 86 name: "Cast" 87 input_arg { 88 name: "x" 89 type_attr: "SrcT" 90 } 91 output_arg { 92 name: "y" 93 type_attr: "DstT" 94 } 95 attr { 96 name: "SrcT" 97 type: "type" 98 } 99 attr { 100 name: "DstT" 101 type: "type" 102 } 103 } 104 op { 105 name: "Const" 106 output_arg { 107 name: "output" 108 type_attr: "dtype" 109 } 110 attr { 111 name: "value" 112 type: "tensor" 113 } 114 attr { 115 name: "dtype" 116 type: "type" 117 } 118 } 119 op { 120 name: "FIFOQueueV2" 121 output_arg { 122 name: "handle" 123 type: DT_RESOURCE 124 } 125 attr { 126 name: "component_types" 127 type: "list(type)" 128 has_minimum: true 129 minimum: 1 130 } 131 attr { 132 name: "shapes" 133 type: "list(shape)" 134 default_value { 135 list { 136 } 137 } 138 has_minimum: true 139 } 140 attr { 141 name: "capacity" 142 type: "int" 143 default_value { 144 i: -1 145 } 146 } 147 attr { 148 name: "container" 149 type: "string" 150 default_value { 151 s: "" 152 } 153 } 154 attr { 155 name: "shared_name" 156 type: "string" 157 default_value { 158 s: "" 159 } 160 } 161 is_stateful: true 162 } 163 op { 164 name: "Greater" 165 input_arg { 166 name: "x" 167 type_attr: "T" 168 } 169 input_arg { 170 name: "y" 171 type_attr: "T" 172 } 173 output_arg { 174 name: "z" 175 type: DT_BOOL 176 } 177 attr { 178 name: "T" 179 type: "type" 180 allowed_values { 181 list { 182 type: DT_FLOAT 183 type: DT_DOUBLE 184 type: DT_INT32 185 type: DT_INT64 186 type: DT_UINT8 187 type: DT_INT16 188 type: DT_INT8 189 type: DT_UINT16 190 type: DT_HALF 191 } 192 } 193 } 194 } 195 op { 196 name: "Identity" 197 input_arg { 198 name: "input" 199 type_attr: "T" 200 } 201 output_arg { 202 name: "output" 203 type_attr: "T" 204 } 205 attr { 206 name: "T" 207 type: "type" 208 } 209 } 210 op { 211 name: "NoOp" 212 } 213 op { 214 name: "QueueDequeueV2" 215 input_arg { 216 name: "handle" 217 type: DT_RESOURCE 218 } 219 output_arg { 220 name: "components" 221 type_list_attr: "component_types" 222 } 223 attr { 224 name: "component_types" 225 type: "list(type)" 226 has_minimum: true 227 minimum: 1 228 } 229 attr { 230 name: "timeout_ms" 231 type: "int" 232 default_value { 233 i: -1 234 } 235 } 236 is_stateful: true 237 } 238 op { 239 name: "QueueEnqueueV2" 240 input_arg { 241 name: "handle" 242 type: DT_RESOURCE 243 } 244 input_arg { 245 name: "components" 246 type_list_attr: "Tcomponents" 247 } 248 attr { 249 name: "Tcomponents" 250 type: "list(type)" 251 has_minimum: true 252 minimum: 1 253 } 254 attr { 255 name: "timeout_ms" 256 type: "int" 257 default_value { 258 i: -1 259 } 260 } 261 is_stateful: true 262 } 263 op { 264 name: "RealDiv" 265 input_arg { 266 name: "x" 267 type_attr: "T" 268 } 269 input_arg { 270 name: "y" 271 type_attr: "T" 272 } 273 output_arg { 274 name: "z" 275 type_attr: "T" 276 } 277 attr { 278 name: "T" 279 type: "type" 280 allowed_values { 281 list { 282 type: DT_HALF 283 type: DT_FLOAT 284 type: DT_DOUBLE 285 type: DT_UINT8 286 type: DT_INT8 287 type: DT_UINT16 288 type: DT_INT16 289 type: DT_INT32 290 type: DT_INT64 291 type: DT_COMPLEX64 292 type: DT_COMPLEX128 293 } 294 } 295 } 296 } 297 op { 298 name: "Select" 299 input_arg { 300 name: "condition" 301 type: DT_BOOL 302 } 303 input_arg { 304 name: "t" 305 type_attr: "T" 306 } 307 input_arg { 308 name: "e" 309 type_attr: "T" 310 } 311 output_arg { 312 name: "output" 313 type_attr: "T" 314 } 315 attr { 316 name: "T" 317 type: "type" 318 } 319 } 320 op { 321 name: "Sum" 322 input_arg { 323 name: "input" 324 type_attr: "T" 325 } 326 input_arg { 327 name: "reduction_indices" 328 type_attr: "Tidx" 329 } 330 output_arg { 331 name: "output" 332 type_attr: "T" 333 } 334 attr { 335 name: "keep_dims" 336 type: "bool" 337 default_value { 338 b: false 339 } 340 } 341 attr { 342 name: "T" 343 type: "type" 344 allowed_values { 345 list { 346 type: DT_FLOAT 347 type: DT_DOUBLE 348 type: DT_INT64 349 type: DT_INT32 350 type: DT_UINT8 351 type: DT_UINT16 352 type: DT_INT16 353 type: DT_INT8 354 type: DT_COMPLEX64 355 type: DT_COMPLEX128 356 type: DT_QINT8 357 type: DT_QUINT8 358 type: DT_QINT32 359 type: DT_HALF 360 } 361 } 362 } 363 attr { 364 name: "Tidx" 365 type: "type" 366 default_value { 367 type: DT_INT32 368 } 369 allowed_values { 370 list { 371 type: DT_INT32 372 type: DT_INT64 373 } 374 } 375 } 376 } 377 op { 378 name: "VariableV2" 379 output_arg { 380 name: "ref" 381 type_attr: "dtype" 382 is_ref: true 383 } 384 attr { 385 name: "shape" 386 type: "shape" 387 } 388 attr { 389 name: "dtype" 390 type: "type" 391 } 392 attr { 393 name: "container" 394 type: "string" 395 default_value { 396 s: "" 397 } 398 } 399 attr { 400 name: "shared_name" 401 type: "string" 402 default_value { 403 s: "" 404 } 405 } 406 is_stateful: true 407 } 408 } 409 tensorflow_version: "1.1.0-rc2" 410 tensorflow_git_version: "unknown" 411} 412graph_def { 413 node { 414 name: "fifo_queue" 415 op: "FIFOQueueV2" 416 device: "/device:CPU:0" 417 attr { 418 key: "_output_shapes" 419 value { 420 list { 421 shape { 422 } 423 } 424 } 425 } 426 attr { 427 key: "capacity" 428 value { 429 i: 4 430 } 431 } 432 attr { 433 key: "component_types" 434 value { 435 list { 436 type: DT_FLOAT 437 } 438 } 439 } 440 attr { 441 key: "container" 442 value { 443 s: "" 444 } 445 } 446 attr { 447 key: "shapes" 448 value { 449 list { 450 shape { 451 dim { 452 size: 1 453 } 454 dim { 455 size: 2 456 } 457 } 458 } 459 } 460 } 461 attr { 462 key: "shared_name" 463 value { 464 s: "" 465 } 466 } 467 } 468 node { 469 name: "Const" 470 op: "Const" 471 device: "/device:CPU:0" 472 attr { 473 key: "_output_shapes" 474 value { 475 list { 476 shape { 477 dim { 478 size: 1 479 } 480 dim { 481 size: 2 482 } 483 } 484 } 485 } 486 } 487 attr { 488 key: "dtype" 489 value { 490 type: DT_FLOAT 491 } 492 } 493 attr { 494 key: "value" 495 value { 496 tensor { 497 dtype: DT_FLOAT 498 tensor_shape { 499 dim { 500 size: 1 501 } 502 dim { 503 size: 2 504 } 505 } 506 float_val: 0. 507 float_val: 1. 508 } 509 } 510 } 511 } 512 node { 513 name: "fifo_queue_enqueue" 514 op: "QueueEnqueueV2" 515 input: "fifo_queue" 516 input: "Const" 517 device: "/device:CPU:0" 518 attr { 519 key: "Tcomponents" 520 value { 521 list { 522 type: DT_FLOAT 523 } 524 } 525 } 526 attr { 527 key: "timeout_ms" 528 value { 529 i: -1 530 } 531 } 532 } 533 node { 534 name: "Const_1" 535 op: "Const" 536 device: "/device:CPU:0" 537 attr { 538 key: "_output_shapes" 539 value { 540 list { 541 shape { 542 dim { 543 size: 1 544 } 545 dim { 546 size: 2 547 } 548 } 549 } 550 } 551 } 552 attr { 553 key: "dtype" 554 value { 555 type: DT_FLOAT 556 } 557 } 558 attr { 559 key: "value" 560 value { 561 tensor { 562 dtype: DT_FLOAT 563 tensor_shape { 564 dim { 565 size: 1 566 } 567 dim { 568 size: 2 569 } 570 } 571 float_val: -4.2 572 float_val: 9.1 573 } 574 } 575 } 576 } 577 node { 578 name: "fifo_queue_enqueue_1" 579 op: "QueueEnqueueV2" 580 input: "fifo_queue" 581 input: "Const_1" 582 device: "/device:CPU:0" 583 attr { 584 key: "Tcomponents" 585 value { 586 list { 587 type: DT_FLOAT 588 } 589 } 590 } 591 attr { 592 key: "timeout_ms" 593 value { 594 i: -1 595 } 596 } 597 } 598 node { 599 name: "Const_2" 600 op: "Const" 601 device: "/device:CPU:0" 602 attr { 603 key: "_output_shapes" 604 value { 605 list { 606 shape { 607 dim { 608 size: 1 609 } 610 dim { 611 size: 2 612 } 613 } 614 } 615 } 616 } 617 attr { 618 key: "dtype" 619 value { 620 type: DT_FLOAT 621 } 622 } 623 attr { 624 key: "value" 625 value { 626 tensor { 627 dtype: DT_FLOAT 628 tensor_shape { 629 dim { 630 size: 1 631 } 632 dim { 633 size: 2 634 } 635 } 636 float_val: 6.5 637 float_val: 0. 638 } 639 } 640 } 641 } 642 node { 643 name: "fifo_queue_enqueue_2" 644 op: "QueueEnqueueV2" 645 input: "fifo_queue" 646 input: "Const_2" 647 device: "/device:CPU:0" 648 attr { 649 key: "Tcomponents" 650 value { 651 list { 652 type: DT_FLOAT 653 } 654 } 655 } 656 attr { 657 key: "timeout_ms" 658 value { 659 i: -1 660 } 661 } 662 } 663 node { 664 name: "Const_3" 665 op: "Const" 666 device: "/device:CPU:0" 667 attr { 668 key: "_output_shapes" 669 value { 670 list { 671 shape { 672 dim { 673 size: 1 674 } 675 dim { 676 size: 2 677 } 678 } 679 } 680 } 681 } 682 attr { 683 key: "dtype" 684 value { 685 type: DT_FLOAT 686 } 687 } 688 attr { 689 key: "value" 690 value { 691 tensor { 692 dtype: DT_FLOAT 693 tensor_shape { 694 dim { 695 size: 1 696 } 697 dim { 698 size: 2 699 } 700 } 701 float_val: -3.2 702 float_val: 0. 703 } 704 } 705 } 706 } 707 node { 708 name: "fifo_queue_enqueue_3" 709 op: "QueueEnqueueV2" 710 input: "fifo_queue" 711 input: "Const_3" 712 device: "/device:CPU:0" 713 attr { 714 key: "Tcomponents" 715 value { 716 list { 717 type: DT_FLOAT 718 } 719 } 720 } 721 attr { 722 key: "timeout_ms" 723 value { 724 i: -1 725 } 726 } 727 } 728 node { 729 name: "fifo_queue_Dequeue" 730 op: "QueueDequeueV2" 731 input: "fifo_queue" 732 device: "/device:CPU:0" 733 attr { 734 key: "_output_shapes" 735 value { 736 list { 737 shape { 738 dim { 739 size: 1 740 } 741 dim { 742 size: 2 743 } 744 } 745 } 746 } 747 } 748 attr { 749 key: "component_types" 750 value { 751 list { 752 type: DT_FLOAT 753 } 754 } 755 } 756 attr { 757 key: "timeout_ms" 758 value { 759 i: -1 760 } 761 } 762 } 763 node { 764 name: "mean/total/Initializer/zeros" 765 op: "Const" 766 attr { 767 key: "_class" 768 value { 769 list { 770 s: "loc:@mean/total" 771 } 772 } 773 } 774 attr { 775 key: "_output_shapes" 776 value { 777 list { 778 shape { 779 } 780 } 781 } 782 } 783 attr { 784 key: "dtype" 785 value { 786 type: DT_FLOAT 787 } 788 } 789 attr { 790 key: "value" 791 value { 792 tensor { 793 dtype: DT_FLOAT 794 tensor_shape { 795 } 796 float_val: 0.0 797 } 798 } 799 } 800 } 801 node { 802 name: "mean/total" 803 op: "VariableV2" 804 device: "/device:CPU:0" 805 attr { 806 key: "_class" 807 value { 808 list { 809 s: "loc:@mean/total" 810 } 811 } 812 } 813 attr { 814 key: "_output_shapes" 815 value { 816 list { 817 shape { 818 } 819 } 820 } 821 } 822 attr { 823 key: "container" 824 value { 825 s: "" 826 } 827 } 828 attr { 829 key: "dtype" 830 value { 831 type: DT_FLOAT 832 } 833 } 834 attr { 835 key: "shape" 836 value { 837 shape { 838 } 839 } 840 } 841 attr { 842 key: "shared_name" 843 value { 844 s: "" 845 } 846 } 847 } 848 node { 849 name: "mean/total/Assign" 850 op: "Assign" 851 input: "mean/total" 852 input: "mean/total/Initializer/zeros" 853 device: "/device:CPU:0" 854 attr { 855 key: "T" 856 value { 857 type: DT_FLOAT 858 } 859 } 860 attr { 861 key: "_class" 862 value { 863 list { 864 s: "loc:@mean/total" 865 } 866 } 867 } 868 attr { 869 key: "_output_shapes" 870 value { 871 list { 872 shape { 873 } 874 } 875 } 876 } 877 attr { 878 key: "use_locking" 879 value { 880 b: true 881 } 882 } 883 attr { 884 key: "validate_shape" 885 value { 886 b: true 887 } 888 } 889 } 890 node { 891 name: "mean/total/read" 892 op: "Identity" 893 input: "mean/total" 894 device: "/device:CPU:0" 895 attr { 896 key: "T" 897 value { 898 type: DT_FLOAT 899 } 900 } 901 attr { 902 key: "_class" 903 value { 904 list { 905 s: "loc:@mean/total" 906 } 907 } 908 } 909 attr { 910 key: "_output_shapes" 911 value { 912 list { 913 shape { 914 } 915 } 916 } 917 } 918 } 919 node { 920 name: "mean/count/Initializer/zeros" 921 op: "Const" 922 attr { 923 key: "_class" 924 value { 925 list { 926 s: "loc:@mean/count" 927 } 928 } 929 } 930 attr { 931 key: "_output_shapes" 932 value { 933 list { 934 shape { 935 } 936 } 937 } 938 } 939 attr { 940 key: "dtype" 941 value { 942 type: DT_FLOAT 943 } 944 } 945 attr { 946 key: "value" 947 value { 948 tensor { 949 dtype: DT_FLOAT 950 tensor_shape { 951 } 952 float_val: 0.0 953 } 954 } 955 } 956 } 957 node { 958 name: "mean/count" 959 op: "VariableV2" 960 device: "/device:CPU:0" 961 attr { 962 key: "_class" 963 value { 964 list { 965 s: "loc:@mean/count" 966 } 967 } 968 } 969 attr { 970 key: "_output_shapes" 971 value { 972 list { 973 shape { 974 } 975 } 976 } 977 } 978 attr { 979 key: "container" 980 value { 981 s: "" 982 } 983 } 984 attr { 985 key: "dtype" 986 value { 987 type: DT_FLOAT 988 } 989 } 990 attr { 991 key: "shape" 992 value { 993 shape { 994 } 995 } 996 } 997 attr { 998 key: "shared_name" 999 value { 1000 s: "" 1001 } 1002 } 1003 } 1004 node { 1005 name: "mean/count/Assign" 1006 op: "Assign" 1007 input: "mean/count" 1008 input: "mean/count/Initializer/zeros" 1009 device: "/device:CPU:0" 1010 attr { 1011 key: "T" 1012 value { 1013 type: DT_FLOAT 1014 } 1015 } 1016 attr { 1017 key: "_class" 1018 value { 1019 list { 1020 s: "loc:@mean/count" 1021 } 1022 } 1023 } 1024 attr { 1025 key: "_output_shapes" 1026 value { 1027 list { 1028 shape { 1029 } 1030 } 1031 } 1032 } 1033 attr { 1034 key: "use_locking" 1035 value { 1036 b: true 1037 } 1038 } 1039 attr { 1040 key: "validate_shape" 1041 value { 1042 b: true 1043 } 1044 } 1045 } 1046 node { 1047 name: "mean/count/read" 1048 op: "Identity" 1049 input: "mean/count" 1050 device: "/device:CPU:0" 1051 attr { 1052 key: "T" 1053 value { 1054 type: DT_FLOAT 1055 } 1056 } 1057 attr { 1058 key: "_class" 1059 value { 1060 list { 1061 s: "loc:@mean/count" 1062 } 1063 } 1064 } 1065 attr { 1066 key: "_output_shapes" 1067 value { 1068 list { 1069 shape { 1070 } 1071 } 1072 } 1073 } 1074 } 1075 node { 1076 name: "mean/Size" 1077 op: "Const" 1078 device: "/device:CPU:0" 1079 attr { 1080 key: "_output_shapes" 1081 value { 1082 list { 1083 shape { 1084 } 1085 } 1086 } 1087 } 1088 attr { 1089 key: "dtype" 1090 value { 1091 type: DT_INT32 1092 } 1093 } 1094 attr { 1095 key: "value" 1096 value { 1097 tensor { 1098 dtype: DT_INT32 1099 tensor_shape { 1100 } 1101 int_val: 2 1102 } 1103 } 1104 } 1105 } 1106 node { 1107 name: "mean/ToFloat_1" 1108 op: "Cast" 1109 input: "mean/Size" 1110 device: "/device:CPU:0" 1111 attr { 1112 key: "DstT" 1113 value { 1114 type: DT_FLOAT 1115 } 1116 } 1117 attr { 1118 key: "SrcT" 1119 value { 1120 type: DT_INT32 1121 } 1122 } 1123 attr { 1124 key: "_output_shapes" 1125 value { 1126 list { 1127 shape { 1128 } 1129 } 1130 } 1131 } 1132 } 1133 node { 1134 name: "mean/Const" 1135 op: "Const" 1136 device: "/device:CPU:0" 1137 attr { 1138 key: "_output_shapes" 1139 value { 1140 list { 1141 shape { 1142 dim { 1143 size: 2 1144 } 1145 } 1146 } 1147 } 1148 } 1149 attr { 1150 key: "dtype" 1151 value { 1152 type: DT_INT32 1153 } 1154 } 1155 attr { 1156 key: "value" 1157 value { 1158 tensor { 1159 dtype: DT_INT32 1160 tensor_shape { 1161 dim { 1162 size: 2 1163 } 1164 } 1165 int_val: 0 1166 int_val: 1 1167 } 1168 } 1169 } 1170 } 1171 node { 1172 name: "mean/Sum" 1173 op: "Sum" 1174 input: "fifo_queue_Dequeue" 1175 input: "mean/Const" 1176 device: "/device:CPU:0" 1177 attr { 1178 key: "T" 1179 value { 1180 type: DT_FLOAT 1181 } 1182 } 1183 attr { 1184 key: "Tidx" 1185 value { 1186 type: DT_INT32 1187 } 1188 } 1189 attr { 1190 key: "_output_shapes" 1191 value { 1192 list { 1193 shape { 1194 } 1195 } 1196 } 1197 } 1198 attr { 1199 key: "keep_dims" 1200 value { 1201 b: false 1202 } 1203 } 1204 } 1205 node { 1206 name: "mean/AssignAdd" 1207 op: "AssignAdd" 1208 input: "mean/total" 1209 input: "mean/Sum" 1210 device: "/device:CPU:0" 1211 attr { 1212 key: "T" 1213 value { 1214 type: DT_FLOAT 1215 } 1216 } 1217 attr { 1218 key: "_class" 1219 value { 1220 list { 1221 s: "loc:@mean/total" 1222 } 1223 } 1224 } 1225 attr { 1226 key: "_output_shapes" 1227 value { 1228 list { 1229 shape { 1230 } 1231 } 1232 } 1233 } 1234 attr { 1235 key: "use_locking" 1236 value { 1237 b: false 1238 } 1239 } 1240 } 1241 node { 1242 name: "mean/AssignAdd_1" 1243 op: "AssignAdd" 1244 input: "mean/count" 1245 input: "mean/ToFloat_1" 1246 input: "^fifo_queue_Dequeue" 1247 device: "/device:CPU:0" 1248 attr { 1249 key: "T" 1250 value { 1251 type: DT_FLOAT 1252 } 1253 } 1254 attr { 1255 key: "_class" 1256 value { 1257 list { 1258 s: "loc:@mean/count" 1259 } 1260 } 1261 } 1262 attr { 1263 key: "_output_shapes" 1264 value { 1265 list { 1266 shape { 1267 } 1268 } 1269 } 1270 } 1271 attr { 1272 key: "use_locking" 1273 value { 1274 b: false 1275 } 1276 } 1277 } 1278 node { 1279 name: "mean/Greater/y" 1280 op: "Const" 1281 device: "/device:CPU:0" 1282 attr { 1283 key: "_output_shapes" 1284 value { 1285 list { 1286 shape { 1287 } 1288 } 1289 } 1290 } 1291 attr { 1292 key: "dtype" 1293 value { 1294 type: DT_FLOAT 1295 } 1296 } 1297 attr { 1298 key: "value" 1299 value { 1300 tensor { 1301 dtype: DT_FLOAT 1302 tensor_shape { 1303 } 1304 float_val: 0.0 1305 } 1306 } 1307 } 1308 } 1309 node { 1310 name: "mean/Greater" 1311 op: "Greater" 1312 input: "mean/count/read" 1313 input: "mean/Greater/y" 1314 device: "/device:CPU:0" 1315 attr { 1316 key: "T" 1317 value { 1318 type: DT_FLOAT 1319 } 1320 } 1321 attr { 1322 key: "_output_shapes" 1323 value { 1324 list { 1325 shape { 1326 } 1327 } 1328 } 1329 } 1330 } 1331 node { 1332 name: "mean/truediv" 1333 op: "RealDiv" 1334 input: "mean/total/read" 1335 input: "mean/count/read" 1336 device: "/device:CPU:0" 1337 attr { 1338 key: "T" 1339 value { 1340 type: DT_FLOAT 1341 } 1342 } 1343 attr { 1344 key: "_output_shapes" 1345 value { 1346 list { 1347 shape { 1348 } 1349 } 1350 } 1351 } 1352 } 1353 node { 1354 name: "mean/value/e" 1355 op: "Const" 1356 device: "/device:CPU:0" 1357 attr { 1358 key: "_output_shapes" 1359 value { 1360 list { 1361 shape { 1362 } 1363 } 1364 } 1365 } 1366 attr { 1367 key: "dtype" 1368 value { 1369 type: DT_FLOAT 1370 } 1371 } 1372 attr { 1373 key: "value" 1374 value { 1375 tensor { 1376 dtype: DT_FLOAT 1377 tensor_shape { 1378 } 1379 float_val: 0.0 1380 } 1381 } 1382 } 1383 } 1384 node { 1385 name: "mean/value" 1386 op: "Select" 1387 input: "mean/Greater" 1388 input: "mean/truediv" 1389 input: "mean/value/e" 1390 device: "/device:CPU:0" 1391 attr { 1392 key: "T" 1393 value { 1394 type: DT_FLOAT 1395 } 1396 } 1397 attr { 1398 key: "_output_shapes" 1399 value { 1400 list { 1401 shape { 1402 } 1403 } 1404 } 1405 } 1406 } 1407 node { 1408 name: "mean/Greater_1/y" 1409 op: "Const" 1410 device: "/device:CPU:0" 1411 attr { 1412 key: "_output_shapes" 1413 value { 1414 list { 1415 shape { 1416 } 1417 } 1418 } 1419 } 1420 attr { 1421 key: "dtype" 1422 value { 1423 type: DT_FLOAT 1424 } 1425 } 1426 attr { 1427 key: "value" 1428 value { 1429 tensor { 1430 dtype: DT_FLOAT 1431 tensor_shape { 1432 } 1433 float_val: 0.0 1434 } 1435 } 1436 } 1437 } 1438 node { 1439 name: "mean/Greater_1" 1440 op: "Greater" 1441 input: "mean/AssignAdd_1" 1442 input: "mean/Greater_1/y" 1443 device: "/device:CPU:0" 1444 attr { 1445 key: "T" 1446 value { 1447 type: DT_FLOAT 1448 } 1449 } 1450 attr { 1451 key: "_output_shapes" 1452 value { 1453 list { 1454 shape { 1455 } 1456 } 1457 } 1458 } 1459 } 1460 node { 1461 name: "mean/truediv_1" 1462 op: "RealDiv" 1463 input: "mean/AssignAdd" 1464 input: "mean/AssignAdd_1" 1465 device: "/device:CPU:0" 1466 attr { 1467 key: "T" 1468 value { 1469 type: DT_FLOAT 1470 } 1471 } 1472 attr { 1473 key: "_output_shapes" 1474 value { 1475 list { 1476 shape { 1477 } 1478 } 1479 } 1480 } 1481 } 1482 node { 1483 name: "mean/update_op/e" 1484 op: "Const" 1485 device: "/device:CPU:0" 1486 attr { 1487 key: "_output_shapes" 1488 value { 1489 list { 1490 shape { 1491 } 1492 } 1493 } 1494 } 1495 attr { 1496 key: "dtype" 1497 value { 1498 type: DT_FLOAT 1499 } 1500 } 1501 attr { 1502 key: "value" 1503 value { 1504 tensor { 1505 dtype: DT_FLOAT 1506 tensor_shape { 1507 } 1508 float_val: 0.0 1509 } 1510 } 1511 } 1512 } 1513 node { 1514 name: "mean/update_op" 1515 op: "Select" 1516 input: "mean/Greater_1" 1517 input: "mean/truediv_1" 1518 input: "mean/update_op/e" 1519 device: "/device:CPU:0" 1520 attr { 1521 key: "T" 1522 value { 1523 type: DT_FLOAT 1524 } 1525 } 1526 attr { 1527 key: "_output_shapes" 1528 value { 1529 list { 1530 shape { 1531 } 1532 } 1533 } 1534 } 1535 } 1536 node { 1537 name: "init" 1538 op: "NoOp" 1539 input: "^mean/total/Assign" 1540 input: "^mean/count/Assign" 1541 device: "/device:CPU:0" 1542 } 1543 versions { 1544 producer: 23 1545 } 1546} 1547collection_def { 1548 key: "local_variables" 1549 value { 1550 node_list { 1551 value: "mean/total:0" 1552 value: "mean/count:0" 1553 } 1554 } 1555} 1556collection_def { 1557 key: "update_op" 1558 value { 1559 node_list { 1560 value: "mean/update_op:0" 1561 } 1562 } 1563} 1564