diff --git a/README.md b/README.md index 636b38d92..03b9c9b17 100644 --- a/README.md +++ b/README.md @@ -300,6 +300,7 @@ Models | Ca [Pix2Pix](https://github.com/phillipi/pix2pix) | √ | × | × | [VQA](https://github.com/iamaaditya/VQA_Demo) | √ | √ | √ | [Denoising Auto-Encoder](https://blog.keras.io/building-autoencoders-in-keras.html) | × | √ | √ | +[CapsNet](https://arxiv.org/abs/1710.09829) | × | √ | √ | Note: For models that use a custom LRN layer (Alexnet), Keras expects the custom layer to be passed when it is loaded from json. LRN.py is located in keras_app/custom_layers. [Alexnet import for Keras](https://github.com/Cloud-CV/Fabrik/blob/master/tutorials/keras_custom_layer_usage.md) diff --git a/example/keras/capsnet.json b/example/keras/capsnet.json new file mode 100644 index 000000000..5cfa174c9 --- /dev/null +++ b/example/keras/capsnet.json @@ -0,0 +1,414 @@ +{ + "class_name": "Model", + "keras_version": "2.0.8", + "config": { + "layers": [ + { + "class_name": "InputLayer", + "config": { + "dtype": "float32", + "batch_input_shape": [ + null, + 28, + 28, + 1 + ], + "name": "Input", + "sparse": false + }, + "inbound_nodes": [], + "name": "Input" + }, + { + "class_name": "Conv2D", + "config": { + "kernel_constraint": null, + "kernel_initializer": { + "class_name": "VarianceScaling", + "config": { + "distribution": "uniform", + "scale": 1.0, + "seed": null, + "mode": "fan_avg" + } + }, + "name": "conv1", + "bias_regularizer": null, + "bias_constraint": null, + "activation": "relu", + "trainable": true, + "data_format": "channels_last", + "padding": "valid", + "strides": [ + 1, + 1 + ], + "dilation_rate": [ + 1, + 1 + ], + "kernel_regularizer": null, + "filters": 256, + "bias_initializer": { + "class_name": "Zeros", + "config": {} + }, + "use_bias": true, + "activity_regularizer": null, + "kernel_size": [ + 9, + 9 + ] + }, + "inbound_nodes": [ + [ + [ + "Input", + 0, + 0, + {} + ] + ] + ], + "name": "conv1" + }, + { + "class_name": "Conv2D", + "config": { + "kernel_constraint": null, + "kernel_initializer": { + "class_name": "VarianceScaling", + "config": { + "distribution": "uniform", + "scale": 1.0, + "seed": null, + "mode": "fan_avg" + } + }, + "name": "primarycap_conv2d", + "bias_regularizer": null, + "bias_constraint": null, + "activation": "linear", + "trainable": true, + "data_format": "channels_last", + "padding": "valid", + "strides": [ + 2, + 2 + ], + "dilation_rate": [ + 1, + 1 + ], + "kernel_regularizer": null, + "filters": 256, + "bias_initializer": { + "class_name": "Zeros", + "config": {} + }, + "use_bias": true, + "activity_regularizer": null, + "kernel_size": [ + 9, + 9 + ] + }, + "inbound_nodes": [ + [ + [ + "conv1", + 0, + 0, + {} + ] + ] + ], + "name": "primarycap_conv2d" + }, + { + "class_name": "Reshape", + "config": { + "target_shape": [ + 1152, + 8 + ], + "trainable": true, + "name": "primarycap_reshape" + }, + "inbound_nodes": [ + [ + [ + "primarycap_conv2d", + 0, + 0, + {} + ] + ] + ], + "name": "primarycap_reshape" + }, + { + "class_name": "Squash", + "config": { + "trainable": true, + "name": "primarycap_sqash", + "axis": -1 + }, + "inbound_nodes": [ + [ + [ + "primarycap_reshape", + 0, + 0, + {} + ] + ] + ], + "name": "primarycap_sqash" + }, + { + "class_name": "CapsuleLayer", + "config": { + "num_routing": 3, + "dim_capsule": 16, + "trainable": true, + "name": "digitcaps", + "num_capsule": 10 + }, + "inbound_nodes": [ + [ + [ + "primarycap_sqash", + 0, + 0, + {} + ] + ] + ], + "name": "digitcaps" + }, + { + "class_name": "InputLayer", + "config": { + "dtype": "float32", + "batch_input_shape": [ + null, + 10 + ], + "name": "input_1", + "sparse": false + }, + "inbound_nodes": [], + "name": "input_1" + }, + { + "class_name": "MaskCapsule", + "config": { + "trainable": true, + "name": "mask_capsule_1" + }, + "inbound_nodes": [ + [ + [ + "digitcaps", + 0, + 0, + {} + ], + [ + "input_1", + 0, + 0, + {} + ] + ] + ], + "name": "mask_capsule_1" + }, + { + "class_name": "Dense", + "config": { + "kernel_initializer": { + "class_name": "VarianceScaling", + "config": { + "distribution": "uniform", + "scale": 1.0, + "seed": null, + "mode": "fan_avg" + } + }, + "name": "dense_1", + "kernel_constraint": null, + "bias_regularizer": null, + "bias_constraint": null, + "activation": "relu", + "trainable": true, + "kernel_regularizer": null, + "bias_initializer": { + "class_name": "Zeros", + "config": {} + }, + "units": 512, + "use_bias": true, + "activity_regularizer": null + }, + "inbound_nodes": [ + [ + [ + "mask_capsule_1", + 0, + 0, + {} + ] + ] + ], + "name": "dense_1" + }, + { + "class_name": "Dense", + "config": { + "kernel_initializer": { + "class_name": "VarianceScaling", + "config": { + "distribution": "uniform", + "scale": 1.0, + "seed": null, + "mode": "fan_avg" + } + }, + "name": "dense_2", + "kernel_constraint": null, + "bias_regularizer": null, + "bias_constraint": null, + "activation": "relu", + "trainable": true, + "kernel_regularizer": null, + "bias_initializer": { + "class_name": "Zeros", + "config": {} + }, + "units": 1024, + "use_bias": true, + "activity_regularizer": null + }, + "inbound_nodes": [ + [ + [ + "dense_1", + 0, + 0, + {} + ] + ] + ], + "name": "dense_2" + }, + { + "class_name": "Dense", + "config": { + "kernel_initializer": { + "class_name": "VarianceScaling", + "config": { + "distribution": "uniform", + "scale": 1.0, + "seed": null, + "mode": "fan_avg" + } + }, + "name": "dense_3", + "kernel_constraint": null, + "bias_regularizer": null, + "bias_constraint": null, + "activation": "sigmoid", + "trainable": true, + "kernel_regularizer": null, + "bias_initializer": { + "class_name": "Zeros", + "config": {} + }, + "units": 784, + "use_bias": true, + "activity_regularizer": null + }, + "inbound_nodes": [ + [ + [ + "dense_2", + 0, + 0, + {} + ] + ] + ], + "name": "dense_3" + }, + { + "class_name": "Length", + "config": { + "trainable": true, + "name": "capsnet" + }, + "inbound_nodes": [ + [ + [ + "digitcaps", + 0, + 0, + {} + ] + ] + ], + "name": "capsnet" + }, + { + "class_name": "Reshape", + "config": { + "target_shape": [ + 28, + 28, + 1 + ], + "trainable": true, + "name": "out_recon" + }, + "inbound_nodes": [ + [ + [ + "dense_3", + 0, + 0, + {} + ] + ] + ], + "name": "out_recon" + } + ], + "input_layers": [ + [ + "Input", + 0, + 0 + ], + [ + "input_1", + 0, + 0 + ] + ], + "output_layers": [ + [ + "capsnet", + 0, + 0 + ], + [ + "out_recon", + 0, + 0 + ] + ], + "name": "CapsNet" + }, + "backend": "tensorflow" +} \ No newline at end of file diff --git a/example/tensorflow/Capsulelayers.pbtxt b/example/tensorflow/Capsulelayers.pbtxt new file mode 100644 index 000000000..94d43bef2 --- /dev/null +++ b/example/tensorflow/Capsulelayers.pbtxt @@ -0,0 +1,24587 @@ +node { + name: "input_1" + op: "Placeholder" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } +} +node { + name: "input_2" + op: "Placeholder" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 28 + } + dim { + size: 28 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: -1 + } + dim { + size: 28 + } + dim { + size: 28 + } + dim { + size: 1 + } + } + } + } +} +node { + name: "conv2d_1/truncated_normal/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\t\000\000\000\t\000\000\000\001\000\000\000\000\001\000\000" + } + } + } +} +node { + name: "conv2d_1/truncated_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: "conv2d_1/truncated_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: 0.111111111939 + } + } + } +} +node { + name: "conv2d_1/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "conv2d_1/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 763311 + } + } +} +node { + name: "conv2d_1/truncated_normal/mul" + op: "Mul" + input: "conv2d_1/truncated_normal/TruncatedNormal" + input: "conv2d_1/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1/truncated_normal" + op: "Add" + input: "conv2d_1/truncated_normal/mul" + input: "conv2d_1/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_1/kernel/Assign" + op: "Assign" + input: "conv2d_1/kernel" + input: "conv2d_1/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_1/kernel/read" + op: "Identity" + input: "conv2d_1/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 256 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "conv2d_1/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_1/bias/Assign" + op: "Assign" + input: "conv2d_1/bias" + input: "conv2d_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_1/bias/read" + op: "Identity" + input: "conv2d_1/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1/convolution/dilation_rate" + 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: "\001\000\000\000\001\000\000\000" + } + } + } +} +node { + name: "conv2d_1/convolution" + op: "Conv2D" + input: "input_2" + input: "conv2d_1/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 20 + } + dim { + size: 20 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } + attr { + key: "padding" + value { + s: "VALID" + } + } + attr { + key: "strides" + value { + list { + i: 1 + i: 1 + i: 1 + i: 1 + } + } + } + attr { + key: "use_cudnn_on_gpu" + value { + b: true + } + } +} +node { + name: "conv2d_1/BiasAdd" + op: "BiasAdd" + input: "conv2d_1/convolution" + input: "conv2d_1/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 20 + } + dim { + size: 20 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_1/Relu" + op: "Relu" + input: "conv2d_1/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 20 + } + dim { + size: 20 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2/truncated_normal/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\t\000\000\000\t\000\000\000\000\001\000\000\000\001\000\000" + } + } + } +} +node { + name: "conv2d_2/truncated_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: "conv2d_2/truncated_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: 0.00694444449618 + } + } + } +} +node { + name: "conv2d_2/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "conv2d_2/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 6872 + } + } +} +node { + name: "conv2d_2/truncated_normal/mul" + op: "Mul" + input: "conv2d_2/truncated_normal/TruncatedNormal" + input: "conv2d_2/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2/truncated_normal" + op: "Add" + input: "conv2d_2/truncated_normal/mul" + input: "conv2d_2/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_2/kernel/Assign" + op: "Assign" + input: "conv2d_2/kernel" + input: "conv2d_2/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_2/kernel/read" + op: "Identity" + input: "conv2d_2/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 256 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "conv2d_2/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_2/bias/Assign" + op: "Assign" + input: "conv2d_2/bias" + input: "conv2d_2/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_2/bias/read" + op: "Identity" + input: "conv2d_2/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2/convolution/dilation_rate" + 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: "\001\000\000\000\001\000\000\000" + } + } + } +} +node { + name: "conv2d_2/convolution" + op: "Conv2D" + input: "activation_1/Relu" + input: "conv2d_2/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 6 + } + dim { + size: 6 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } + attr { + key: "padding" + value { + s: "VALID" + } + } + attr { + key: "strides" + value { + list { + i: 1 + i: 2 + i: 2 + i: 1 + } + } + } + attr { + key: "use_cudnn_on_gpu" + value { + b: true + } + } +} +node { + name: "conv2d_2/BiasAdd" + op: "BiasAdd" + input: "conv2d_2/convolution" + input: "conv2d_2/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 6 + } + dim { + size: 6 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "reshape_1/Reshape/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\377\377\377\377\010\000\000\000\200\004\000\000" + } + } + } +} +node { + name: "reshape_1/Reshape" + op: "Reshape" + input: "conv2d_2/BiasAdd" + input: "reshape_1/Reshape/shape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "squash_1/Square" + op: "Square" + input: "reshape_1/Reshape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "squash_1/Sum/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "squash_1/Sum" + op: "Sum" + input: "squash_1/Square" + input: "squash_1/Sum/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "squash_1/add/x" + 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: "squash_1/add" + op: "Add" + input: "squash_1/add/x" + input: "squash_1/Sum" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1/div" + op: "RealDiv" + input: "squash_1/Sum" + input: "squash_1/add" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1/add_1/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "squash_1/add_1" + op: "Add" + input: "squash_1/Sum" + input: "squash_1/add_1/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1/Const" + 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: "squash_1/Const_1" + 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: inf + } + } + } +} +node { + name: "squash_1/clip_by_value/Minimum" + op: "Minimum" + input: "squash_1/add_1" + input: "squash_1/Const_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1/clip_by_value" + op: "Maximum" + input: "squash_1/clip_by_value/Minimum" + input: "squash_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1/Sqrt" + op: "Sqrt" + input: "squash_1/clip_by_value" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1/div_1" + op: "RealDiv" + input: "squash_1/div" + input: "squash_1/Sqrt" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1/mul" + op: "Mul" + input: "squash_1/div_1" + input: "reshape_1/Reshape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "capsule_layer_2/random_uniform/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\010\000\000\000\n\000\000\000\200\004\000\000\020\000\000\000" + } + } + } +} +node { + name: "capsule_layer_2/random_uniform/min" + 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: "capsule_layer_2/random_uniform/max" + 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: "capsule_layer_2/random_uniform/RandomUniform" + op: "RandomUniform" + input: "capsule_layer_2/random_uniform/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 4014443 + } + } +} +node { + name: "capsule_layer_2/random_uniform/sub" + op: "Sub" + input: "capsule_layer_2/random_uniform/max" + input: "capsule_layer_2/random_uniform/min" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/random_uniform/mul" + op: "Mul" + input: "capsule_layer_2/random_uniform/RandomUniform" + input: "capsule_layer_2/random_uniform/sub" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/random_uniform" + op: "Add" + input: "capsule_layer_2/random_uniform/mul" + input: "capsule_layer_2/random_uniform/min" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/W" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2/W/Assign" + op: "Assign" + input: "capsule_layer_2/W" + input: "capsule_layer_2/random_uniform" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/W" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "capsule_layer_2/W/read" + op: "Identity" + input: "capsule_layer_2/W" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/W" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "capsule_layer_2/b" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2/b/Assign" + op: "Assign" + input: "capsule_layer_2/b" + input: "capsule_layer_2/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/b" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "capsule_layer_2/b/read" + op: "Identity" + input: "capsule_layer_2/b" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/b" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "capsule_layer_2/c" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2/c/Assign" + op: "Assign" + input: "capsule_layer_2/c" + input: "capsule_layer_2/Const_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/c" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "capsule_layer_2/c/read" + op: "Identity" + input: "capsule_layer_2/c" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/c" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims" + op: "ExpandDims" + input: "squash_1/mul" + input: "capsule_layer_2/ExpandDims/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/split/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2/split" + op: "Split" + input: "capsule_layer_2/split/split_dim" + input: "capsule_layer_2/ExpandDims" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + dim { + size: 1152 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/concat/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2/concat" + op: "ConcatV2" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/split" + input: "capsule_layer_2/concat/axis" + attr { + key: "N" + value { + i: 10 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "capsule_layer_2/map/Shape" + op: "Shape" + input: "capsule_layer_2/concat" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2/map/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/map/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/strided_slice" + op: "StridedSlice" + input: "capsule_layer_2/map/Shape" + input: "capsule_layer_2/map/strided_slice/stack" + input: "capsule_layer_2/map/strided_slice/stack_1" + input: "capsule_layer_2/map/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/map/TensorArray" + op: "TensorArrayV3" + input: "capsule_layer_2/map/strided_slice" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + shape { + } + } + } + } + attr { + key: "clear_after_read" + value { + b: true + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "dynamic_size" + value { + b: false + } + } + attr { + key: "element_shape" + value { + shape { + unknown_rank: true + } + } + } + attr { + key: "tensor_array_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/Shape" + op: "Shape" + input: "capsule_layer_2/concat" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/strided_slice" + op: "StridedSlice" + input: "capsule_layer_2/map/TensorArrayUnstack/Shape" + input: "capsule_layer_2/map/TensorArrayUnstack/strided_slice/stack" + input: "capsule_layer_2/map/TensorArrayUnstack/strided_slice/stack_1" + input: "capsule_layer_2/map/TensorArrayUnstack/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/range/start" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/range/delta" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/range" + op: "Range" + input: "capsule_layer_2/map/TensorArrayUnstack/range/start" + input: "capsule_layer_2/map/TensorArrayUnstack/strided_slice" + input: "capsule_layer_2/map/TensorArrayUnstack/range/delta" + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3" + op: "TensorArrayScatterV3" + input: "capsule_layer_2/map/TensorArray" + input: "capsule_layer_2/map/TensorArrayUnstack/range" + input: "capsule_layer_2/concat" + input: "capsule_layer_2/map/TensorArray:1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/concat" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArray_1" + op: "TensorArrayV3" + input: "capsule_layer_2/map/strided_slice" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + shape { + } + } + } + } + attr { + key: "clear_after_read" + value { + b: true + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "dynamic_size" + value { + b: false + } + } + attr { + key: "element_shape" + value { + shape { + unknown_rank: true + } + } + } + attr { + key: "tensor_array_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2/map/while/Enter" + op: "Enter" + input: "capsule_layer_2/map/Const" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: false + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2/map/while/Enter_1" + op: "Enter" + input: "capsule_layer_2/map/TensorArray_1:1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: false + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2/map/while/Merge" + op: "Merge" + input: "capsule_layer_2/map/while/Enter" + input: "capsule_layer_2/map/while/NextIteration" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Merge_1" + op: "Merge" + input: "capsule_layer_2/map/while/Enter_1" + input: "capsule_layer_2/map/while/NextIteration_1" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Less/Enter" + op: "Enter" + input: "capsule_layer_2/map/strided_slice" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2/map/while/Less" + op: "Less" + input: "capsule_layer_2/map/while/Merge" + input: "capsule_layer_2/map/while/Less/Enter" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/LoopCond" + op: "LoopCond" + input: "capsule_layer_2/map/while/Less" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Switch" + op: "Switch" + input: "capsule_layer_2/map/while/Merge" + input: "capsule_layer_2/map/while/LoopCond" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/while/Merge" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Switch_1" + op: "Switch" + input: "capsule_layer_2/map/while/Merge_1" + input: "capsule_layer_2/map/while/LoopCond" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/while/Merge_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Identity" + op: "Identity" + input: "capsule_layer_2/map/while/Switch:1" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Identity_1" + op: "Identity" + input: "capsule_layer_2/map/while/Switch_1:1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/TensorArrayReadV3/Enter" + op: "Enter" + input: "capsule_layer_2/map/TensorArray" + attr { + key: "T" + value { + type: DT_RESOURCE + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2/map/while/TensorArrayReadV3/Enter_1" + op: "Enter" + input: "capsule_layer_2/map/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2/map/while/TensorArrayReadV3" + op: "TensorArrayReadV3" + input: "capsule_layer_2/map/while/TensorArrayReadV3/Enter" + input: "capsule_layer_2/map/while/Identity" + input: "capsule_layer_2/map/while/TensorArrayReadV3/Enter_1" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } +} +node { + name: "capsule_layer_2/map/while/Shape" + op: "Const" + input: "^capsule_layer_2/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\010\000\000\000\n\000\000\000\200\004\000\000" + } + } + } +} +node { + name: "capsule_layer_2/map/while/concat/values_1" + op: "Const" + input: "^capsule_layer_2/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/while/concat/axis" + op: "Const" + input: "^capsule_layer_2/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/map/while/concat" + op: "ConcatV2" + input: "capsule_layer_2/map/while/Shape" + input: "capsule_layer_2/map/while/concat/values_1" + input: "capsule_layer_2/map/while/concat/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Reshape" + op: "Reshape" + input: "capsule_layer_2/map/while/TensorArrayReadV3" + input: "capsule_layer_2/map/while/concat" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/MatMul/Enter" + op: "Enter" + input: "capsule_layer_2/W/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2/map/while/MatMul" + op: "BatchMatMul" + input: "capsule_layer_2/map/while/Reshape" + input: "capsule_layer_2/map/while/MatMul/Enter" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "adj_x" + value { + b: true + } + } + attr { + key: "adj_y" + value { + b: false + } + } +} +node { + name: "capsule_layer_2/map/while/Squeeze" + op: "Squeeze" + input: "capsule_layer_2/map/while/MatMul" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "squeeze_dims" + value { + list { + i: 2 + } + } + } +} +node { + name: "capsule_layer_2/map/while/TensorArrayWrite/TensorArrayWriteV3/Enter" + op: "Enter" + input: "capsule_layer_2/map/TensorArray_1" + attr { + key: "T" + value { + type: DT_RESOURCE + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/while/Squeeze" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2/map/while/TensorArrayWrite/TensorArrayWriteV3" + op: "TensorArrayWriteV3" + input: "capsule_layer_2/map/while/TensorArrayWrite/TensorArrayWriteV3/Enter" + input: "capsule_layer_2/map/while/Identity" + input: "capsule_layer_2/map/while/Squeeze" + input: "capsule_layer_2/map/while/Identity_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/while/Squeeze" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/add/y" + op: "Const" + input: "^capsule_layer_2/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/while/add" + op: "Add" + input: "capsule_layer_2/map/while/Identity" + input: "capsule_layer_2/map/while/add/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/NextIteration" + op: "NextIteration" + input: "capsule_layer_2/map/while/add" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/NextIteration_1" + op: "NextIteration" + input: "capsule_layer_2/map/while/TensorArrayWrite/TensorArrayWriteV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Exit" + op: "Exit" + input: "capsule_layer_2/map/while/Switch" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/while/Exit_1" + op: "Exit" + input: "capsule_layer_2/map/while/Switch_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayStack/TensorArraySizeV3" + op: "TensorArraySizeV3" + input: "capsule_layer_2/map/TensorArray_1" + input: "capsule_layer_2/map/while/Exit_1" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayStack/range/start" + op: "Const" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayStack/range/delta" + op: "Const" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayStack/range" + op: "Range" + input: "capsule_layer_2/map/TensorArrayStack/range/start" + input: "capsule_layer_2/map/TensorArrayStack/TensorArraySizeV3" + input: "capsule_layer_2/map/TensorArrayStack/range/delta" + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/map/TensorArrayStack/TensorArrayGatherV3" + op: "TensorArrayGatherV3" + input: "capsule_layer_2/map/TensorArray_1" + input: "capsule_layer_2/map/TensorArrayStack/range" + input: "capsule_layer_2/map/while/Exit_1" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "element_shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } +} +node { + name: "capsule_layer_2/Shape" + op: "Shape" + input: "capsule_layer_2/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2/ExpandDims_1/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_1" + op: "ExpandDims" + input: "capsule_layer_2/b/read" + input: "capsule_layer_2/ExpandDims_1/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_2/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_2" + op: "ExpandDims" + input: "capsule_layer_2/c/read" + input: "capsule_layer_2/ExpandDims_2/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Shape_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\001\000\000\000\010\000\000\000\n\000\000\000" + } + } + } +} +node { + name: "capsule_layer_2/Rank" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2/Shape_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\001\000\000\000\010\000\000\000\n\000\000\000" + } + } + } +} +node { + name: "capsule_layer_2/Sub/y" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Sub" + op: "Sub" + input: "capsule_layer_2/Rank" + input: "capsule_layer_2/Sub/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/Slice/begin" + op: "Pack" + input: "capsule_layer_2/Sub" + attr { + key: "N" + value { + i: 1 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2/Slice/size" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Slice" + op: "Slice" + input: "capsule_layer_2/Shape_2" + input: "capsule_layer_2/Slice/begin" + input: "capsule_layer_2/Slice/size" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/concat_1/values_0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/concat_1/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/concat_1" + op: "ConcatV2" + input: "capsule_layer_2/concat_1/values_0" + input: "capsule_layer_2/Slice" + input: "capsule_layer_2/concat_1/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Reshape" + op: "Reshape" + input: "capsule_layer_2/ExpandDims_1" + input: "capsule_layer_2/concat_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Softmax" + op: "Softmax" + input: "capsule_layer_2/Reshape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Reshape_1" + op: "Reshape" + input: "capsule_layer_2/Softmax" + input: "capsule_layer_2/Shape_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_3/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_3" + op: "ExpandDims" + input: "capsule_layer_2/Reshape_1" + input: "capsule_layer_2/ExpandDims_3/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_3" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/split_1/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/split_1" + op: "Split" + input: "capsule_layer_2/split_1/split_dim" + input: "capsule_layer_2/ExpandDims_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/concat_2/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2/concat_2" + op: "ConcatV2" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/split_1" + input: "capsule_layer_2/concat_2/axis" + attr { + key: "N" + value { + i: 16 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul" + op: "Mul" + input: "capsule_layer_2/concat_2" + input: "capsule_layer_2/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Sum" + op: "Sum" + input: "capsule_layer_2/mul" + input: "capsule_layer_2/Sum/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2/Square" + op: "Square" + input: "capsule_layer_2/Sum" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum_1/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/Sum_1" + op: "Sum" + input: "capsule_layer_2/Square" + input: "capsule_layer_2/Sum_1/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "capsule_layer_2/add/x" + 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: "capsule_layer_2/add" + op: "Add" + input: "capsule_layer_2/add/x" + input: "capsule_layer_2/Sum_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/div" + op: "RealDiv" + input: "capsule_layer_2/Sum_1" + input: "capsule_layer_2/add" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/add_1/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "capsule_layer_2/add_1" + op: "Add" + input: "capsule_layer_2/Sum_1" + input: "capsule_layer_2/add_1/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_4" + 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: "capsule_layer_2/Const_5" + 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: inf + } + } + } +} +node { + name: "capsule_layer_2/clip_by_value/Minimum" + op: "Minimum" + input: "capsule_layer_2/add_1" + input: "capsule_layer_2/Const_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/clip_by_value" + op: "Maximum" + input: "capsule_layer_2/clip_by_value/Minimum" + input: "capsule_layer_2/Const_4" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sqrt" + op: "Sqrt" + input: "capsule_layer_2/clip_by_value" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/div_1" + op: "RealDiv" + input: "capsule_layer_2/div" + input: "capsule_layer_2/Sqrt" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul_1" + op: "Mul" + input: "capsule_layer_2/div_1" + input: "capsule_layer_2/Sum" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_4/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_4" + op: "ExpandDims" + input: "capsule_layer_2/mul_1" + input: "capsule_layer_2/ExpandDims_4/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/strided_slice" + op: "StridedSlice" + input: "capsule_layer_2/Shape" + input: "capsule_layer_2/strided_slice/stack" + input: "capsule_layer_2/strided_slice/stack_1" + input: "capsule_layer_2/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/Tile/multiples/0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Tile/multiples/2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Tile/multiples/3" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Tile/multiples" + op: "Pack" + input: "capsule_layer_2/Tile/multiples/0" + input: "capsule_layer_2/strided_slice" + input: "capsule_layer_2/Tile/multiples/2" + input: "capsule_layer_2/Tile/multiples/3" + attr { + key: "N" + value { + i: 4 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2/Tile" + op: "Tile" + input: "capsule_layer_2/ExpandDims_4" + input: "capsule_layer_2/Tile/multiples" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tmultiples" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul_2" + op: "Mul" + input: "capsule_layer_2/map/TensorArrayStack/TensorArrayGatherV3" + input: "capsule_layer_2/Tile" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum_2/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/Sum_2" + op: "Sum" + input: "capsule_layer_2/mul_2" + input: "capsule_layer_2/Sum_2/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2/add_2" + op: "Add" + input: "capsule_layer_2/ExpandDims_1" + input: "capsule_layer_2/Sum_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Shape_3" + op: "Shape" + input: "capsule_layer_2/add_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2/Rank_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2/Shape_4" + op: "Shape" + input: "capsule_layer_2/add_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2/Sub_1/y" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Sub_1" + op: "Sub" + input: "capsule_layer_2/Rank_1" + input: "capsule_layer_2/Sub_1/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/Slice_1/begin" + op: "Pack" + input: "capsule_layer_2/Sub_1" + attr { + key: "N" + value { + i: 1 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2/Slice_1/size" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Slice_1" + op: "Slice" + input: "capsule_layer_2/Shape_4" + input: "capsule_layer_2/Slice_1/begin" + input: "capsule_layer_2/Slice_1/size" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/concat_3/values_0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/concat_3/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/concat_3" + op: "ConcatV2" + input: "capsule_layer_2/concat_3/values_0" + input: "capsule_layer_2/Slice_1" + input: "capsule_layer_2/concat_3/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Reshape_2" + op: "Reshape" + input: "capsule_layer_2/add_2" + input: "capsule_layer_2/concat_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Softmax_1" + op: "Softmax" + input: "capsule_layer_2/Reshape_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Reshape_3" + op: "Reshape" + input: "capsule_layer_2/Softmax_1" + input: "capsule_layer_2/Shape_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_5/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_5" + op: "ExpandDims" + input: "capsule_layer_2/Reshape_3" + input: "capsule_layer_2/ExpandDims_5/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_6" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/split_2/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/split_2" + op: "Split" + input: "capsule_layer_2/split_2/split_dim" + input: "capsule_layer_2/ExpandDims_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/concat_4/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2/concat_4" + op: "ConcatV2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/split_2" + input: "capsule_layer_2/concat_4/axis" + attr { + key: "N" + value { + i: 16 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul_3" + op: "Mul" + input: "capsule_layer_2/concat_4" + input: "capsule_layer_2/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum_3/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Sum_3" + op: "Sum" + input: "capsule_layer_2/mul_3" + input: "capsule_layer_2/Sum_3/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2/Square_1" + op: "Square" + input: "capsule_layer_2/Sum_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum_4/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/Sum_4" + op: "Sum" + input: "capsule_layer_2/Square_1" + input: "capsule_layer_2/Sum_4/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "capsule_layer_2/add_3/x" + 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: "capsule_layer_2/add_3" + op: "Add" + input: "capsule_layer_2/add_3/x" + input: "capsule_layer_2/Sum_4" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/div_2" + op: "RealDiv" + input: "capsule_layer_2/Sum_4" + input: "capsule_layer_2/add_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/add_4/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "capsule_layer_2/add_4" + op: "Add" + input: "capsule_layer_2/Sum_4" + input: "capsule_layer_2/add_4/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_7" + 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: "capsule_layer_2/Const_8" + 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: inf + } + } + } +} +node { + name: "capsule_layer_2/clip_by_value_1/Minimum" + op: "Minimum" + input: "capsule_layer_2/add_4" + input: "capsule_layer_2/Const_8" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/clip_by_value_1" + op: "Maximum" + input: "capsule_layer_2/clip_by_value_1/Minimum" + input: "capsule_layer_2/Const_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sqrt_1" + op: "Sqrt" + input: "capsule_layer_2/clip_by_value_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/div_3" + op: "RealDiv" + input: "capsule_layer_2/div_2" + input: "capsule_layer_2/Sqrt_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul_4" + op: "Mul" + input: "capsule_layer_2/div_3" + input: "capsule_layer_2/Sum_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_6/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_6" + op: "ExpandDims" + input: "capsule_layer_2/mul_4" + input: "capsule_layer_2/ExpandDims_6/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/strided_slice_1/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/strided_slice_1/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2/strided_slice_1/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/strided_slice_1" + op: "StridedSlice" + input: "capsule_layer_2/Shape" + input: "capsule_layer_2/strided_slice_1/stack" + input: "capsule_layer_2/strided_slice_1/stack_1" + input: "capsule_layer_2/strided_slice_1/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/Tile_1/multiples/0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Tile_1/multiples/2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Tile_1/multiples/3" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Tile_1/multiples" + op: "Pack" + input: "capsule_layer_2/Tile_1/multiples/0" + input: "capsule_layer_2/strided_slice_1" + input: "capsule_layer_2/Tile_1/multiples/2" + input: "capsule_layer_2/Tile_1/multiples/3" + attr { + key: "N" + value { + i: 4 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2/Tile_1" + op: "Tile" + input: "capsule_layer_2/ExpandDims_6" + input: "capsule_layer_2/Tile_1/multiples" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tmultiples" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul_5" + op: "Mul" + input: "capsule_layer_2/map/TensorArrayStack/TensorArrayGatherV3" + input: "capsule_layer_2/Tile_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum_5/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/Sum_5" + op: "Sum" + input: "capsule_layer_2/mul_5" + input: "capsule_layer_2/Sum_5/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2/add_5" + op: "Add" + input: "capsule_layer_2/add_2" + input: "capsule_layer_2/Sum_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Shape_5" + op: "Shape" + input: "capsule_layer_2/add_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2/Rank_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2/Shape_6" + op: "Shape" + input: "capsule_layer_2/add_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2/Sub_2/y" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Sub_2" + op: "Sub" + input: "capsule_layer_2/Rank_2" + input: "capsule_layer_2/Sub_2/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2/Slice_2/begin" + op: "Pack" + input: "capsule_layer_2/Sub_2" + attr { + key: "N" + value { + i: 1 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2/Slice_2/size" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Slice_2" + op: "Slice" + input: "capsule_layer_2/Shape_6" + input: "capsule_layer_2/Slice_2/begin" + input: "capsule_layer_2/Slice_2/size" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/concat_5/values_0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/concat_5/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2/concat_5" + op: "ConcatV2" + input: "capsule_layer_2/concat_5/values_0" + input: "capsule_layer_2/Slice_2" + input: "capsule_layer_2/concat_5/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Reshape_4" + op: "Reshape" + input: "capsule_layer_2/add_5" + input: "capsule_layer_2/concat_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Softmax_2" + op: "Softmax" + input: "capsule_layer_2/Reshape_4" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Reshape_5" + op: "Reshape" + input: "capsule_layer_2/Softmax_2" + input: "capsule_layer_2/Shape_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_7/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/ExpandDims_7" + op: "ExpandDims" + input: "capsule_layer_2/Reshape_5" + input: "capsule_layer_2/ExpandDims_7/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_9" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/split_3/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/split_3" + op: "Split" + input: "capsule_layer_2/split_3/split_dim" + input: "capsule_layer_2/ExpandDims_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2/concat_6/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2/concat_6" + op: "ConcatV2" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/split_3" + input: "capsule_layer_2/concat_6/axis" + attr { + key: "N" + value { + i: 16 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul_6" + op: "Mul" + input: "capsule_layer_2/concat_6" + input: "capsule_layer_2/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum_6/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2/Sum_6" + op: "Sum" + input: "capsule_layer_2/mul_6" + input: "capsule_layer_2/Sum_6/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2/Square_2" + op: "Square" + input: "capsule_layer_2/Sum_6" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sum_7/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2/Sum_7" + op: "Sum" + input: "capsule_layer_2/Square_2" + input: "capsule_layer_2/Sum_7/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "capsule_layer_2/add_6/x" + 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: "capsule_layer_2/add_6" + op: "Add" + input: "capsule_layer_2/add_6/x" + input: "capsule_layer_2/Sum_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/div_4" + op: "RealDiv" + input: "capsule_layer_2/Sum_7" + input: "capsule_layer_2/add_6" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/add_7/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "capsule_layer_2/add_7" + op: "Add" + input: "capsule_layer_2/Sum_7" + input: "capsule_layer_2/add_7/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Const_10" + 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: "capsule_layer_2/Const_11" + 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: inf + } + } + } +} +node { + name: "capsule_layer_2/clip_by_value_2/Minimum" + op: "Minimum" + input: "capsule_layer_2/add_7" + input: "capsule_layer_2/Const_11" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/clip_by_value_2" + op: "Maximum" + input: "capsule_layer_2/clip_by_value_2/Minimum" + input: "capsule_layer_2/Const_10" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/Sqrt_2" + op: "Sqrt" + input: "capsule_layer_2/clip_by_value_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/div_5" + op: "RealDiv" + input: "capsule_layer_2/div_4" + input: "capsule_layer_2/Sqrt_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2/mul_7" + op: "Mul" + input: "capsule_layer_2/div_5" + input: "capsule_layer_2/Sum_6" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "length_1/Square" + op: "Square" + input: "capsule_layer_2/mul_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "length_1/Sum/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "length_1/Sum" + op: "Sum" + input: "length_1/Square" + input: "length_1/Sum/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "length_1/Const" + 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: "length_1/Const_1" + 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: inf + } + } + } +} +node { + name: "length_1/clip_by_value/Minimum" + op: "Minimum" + input: "length_1/Sum" + input: "length_1/Const_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "length_1/clip_by_value" + op: "Maximum" + input: "length_1/clip_by_value/Minimum" + input: "length_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "length_1/Sqrt" + op: "Sqrt" + input: "length_1/clip_by_value" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "mask_capsule_1/ExpandDims/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "mask_capsule_1/ExpandDims" + op: "ExpandDims" + input: "input_1" + input: "mask_capsule_1/ExpandDims/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "mask_capsule_1/mul" + op: "Mul" + input: "capsule_layer_2/mul_7" + input: "mask_capsule_1/ExpandDims" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "mask_capsule_1/Shape" + op: "Shape" + input: "mask_capsule_1/mul" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "mask_capsule_1/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "mask_capsule_1/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "mask_capsule_1/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "mask_capsule_1/strided_slice" + op: "StridedSlice" + input: "mask_capsule_1/Shape" + input: "mask_capsule_1/strided_slice/stack" + input: "mask_capsule_1/strided_slice/stack_1" + input: "mask_capsule_1/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 1 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 0 + } + } +} +node { + name: "mask_capsule_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "mask_capsule_1/Prod" + op: "Prod" + input: "mask_capsule_1/strided_slice" + input: "mask_capsule_1/Const" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "mask_capsule_1/stack/0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "mask_capsule_1/stack" + op: "Pack" + input: "mask_capsule_1/stack/0" + input: "mask_capsule_1/Prod" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "mask_capsule_1/Reshape" + op: "Reshape" + input: "mask_capsule_1/mul" + input: "mask_capsule_1/stack" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "dense_1/truncated_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: "\240\000\000\000\000\002\000\000" + } + } + } +} +node { + name: "dense_1/truncated_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: "dense_1/truncated_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: 0.0790569409728 + } + } + } +} +node { + name: "dense_1/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "dense_1/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 1435693 + } + } +} +node { + name: "dense_1/truncated_normal/mul" + op: "Mul" + input: "dense_1/truncated_normal/TruncatedNormal" + input: "dense_1/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1/truncated_normal" + op: "Add" + input: "dense_1/truncated_normal/mul" + input: "dense_1/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_1/kernel/Assign" + op: "Assign" + input: "dense_1/kernel" + input: "dense_1/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_1/kernel/read" + op: "Identity" + input: "dense_1/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 512 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "dense_1/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 512 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_1/bias/Assign" + op: "Assign" + input: "dense_1/bias" + input: "dense_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_1/bias/read" + op: "Identity" + input: "dense_1/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1/MatMul" + op: "MatMul" + input: "mask_capsule_1/Reshape" + input: "dense_1/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "transpose_a" + value { + b: false + } + } + attr { + key: "transpose_b" + value { + b: false + } + } +} +node { + name: "dense_1/BiasAdd" + op: "BiasAdd" + input: "dense_1/MatMul" + input: "dense_1/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_2/Relu" + op: "Relu" + input: "dense_1/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_2/truncated_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: "\000\002\000\000\000\004\000\000" + } + } + } +} +node { + name: "dense_2/truncated_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: "dense_2/truncated_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: 0.0441941730678 + } + } + } +} +node { + name: "dense_2/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "dense_2/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 9637120 + } + } +} +node { + name: "dense_2/truncated_normal/mul" + op: "Mul" + input: "dense_2/truncated_normal/TruncatedNormal" + input: "dense_2/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2/truncated_normal" + op: "Add" + input: "dense_2/truncated_normal/mul" + input: "dense_2/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_2/kernel/Assign" + op: "Assign" + input: "dense_2/kernel" + input: "dense_2/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_2/kernel/read" + op: "Identity" + input: "dense_2/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 1024 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "dense_2/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1024 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_2/bias/Assign" + op: "Assign" + input: "dense_2/bias" + input: "dense_2/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_2/bias/read" + op: "Identity" + input: "dense_2/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2/MatMul" + op: "MatMul" + input: "activation_2/Relu" + input: "dense_2/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "transpose_a" + value { + b: false + } + } + attr { + key: "transpose_b" + value { + b: false + } + } +} +node { + name: "dense_2/BiasAdd" + op: "BiasAdd" + input: "dense_2/MatMul" + input: "dense_2/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_3/Relu" + op: "Relu" + input: "dense_2/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_3/truncated_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: "\000\004\000\000\020\003\000\000" + } + } + } +} +node { + name: "dense_3/truncated_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: "dense_3/truncated_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: 0.03125 + } + } + } +} +node { + name: "dense_3/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "dense_3/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 2283979 + } + } +} +node { + name: "dense_3/truncated_normal/mul" + op: "Mul" + input: "dense_3/truncated_normal/TruncatedNormal" + input: "dense_3/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3/truncated_normal" + op: "Add" + input: "dense_3/truncated_normal/mul" + input: "dense_3/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_3/kernel/Assign" + op: "Assign" + input: "dense_3/kernel" + input: "dense_3/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_3/kernel/read" + op: "Identity" + input: "dense_3/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 784 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "dense_3/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 784 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_3/bias/Assign" + op: "Assign" + input: "dense_3/bias" + input: "dense_3/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_3/bias/read" + op: "Identity" + input: "dense_3/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3/MatMul" + op: "MatMul" + input: "activation_3/Relu" + input: "dense_3/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "transpose_a" + value { + b: false + } + } + attr { + key: "transpose_b" + value { + b: false + } + } +} +node { + name: "dense_3/BiasAdd" + op: "BiasAdd" + input: "dense_3/MatMul" + input: "dense_3/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_4/Sigmoid" + op: "Sigmoid" + input: "dense_3/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "reshape_2/Reshape/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\377\377\377\377\034\000\000\000\001\000\000\000\034\000\000\000" + } + } + } +} +node { + name: "reshape_2/Reshape" + op: "Reshape" + input: "activation_4/Sigmoid" + input: "reshape_2/Reshape/shape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 28 + } + dim { + size: 1 + } + dim { + size: 28 + } + } + } + } + } +} +node { + name: "input_2_1" + op: "Placeholder" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 28 + } + dim { + size: 28 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: -1 + } + dim { + size: 28 + } + dim { + size: 28 + } + dim { + size: 1 + } + } + } + } +} +node { + name: "input_1_1" + op: "Placeholder" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } +} +node { + name: "conv2d_1_1/truncated_normal/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\t\000\000\000\t\000\000\000\001\000\000\000\000\001\000\000" + } + } + } +} +node { + name: "conv2d_1_1/truncated_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: "conv2d_1_1/truncated_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: 0.111111111939 + } + } + } +} +node { + name: "conv2d_1_1/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "conv2d_1_1/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 1659099 + } + } +} +node { + name: "conv2d_1_1/truncated_normal/mul" + op: "Mul" + input: "conv2d_1_1/truncated_normal/TruncatedNormal" + input: "conv2d_1_1/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1_1/truncated_normal" + op: "Add" + input: "conv2d_1_1/truncated_normal/mul" + input: "conv2d_1_1/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1_1/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_1_1/kernel/Assign" + op: "Assign" + input: "conv2d_1_1/kernel" + input: "conv2d_1_1/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_1_1/kernel/read" + op: "Identity" + input: "conv2d_1_1/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 1 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 256 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "conv2d_1_1/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_1_1/bias/Assign" + op: "Assign" + input: "conv2d_1_1/bias" + input: "conv2d_1_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_1_1/bias/read" + op: "Identity" + input: "conv2d_1_1/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_1_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_1_1/convolution/dilation_rate" + 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: "\001\000\000\000\001\000\000\000" + } + } + } +} +node { + name: "conv2d_1_1/convolution" + op: "Conv2D" + input: "input_2_1" + input: "conv2d_1_1/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 20 + } + dim { + size: 20 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } + attr { + key: "padding" + value { + s: "VALID" + } + } + attr { + key: "strides" + value { + list { + i: 1 + i: 1 + i: 1 + i: 1 + } + } + } + attr { + key: "use_cudnn_on_gpu" + value { + b: true + } + } +} +node { + name: "conv2d_1_1/BiasAdd" + op: "BiasAdd" + input: "conv2d_1_1/convolution" + input: "conv2d_1_1/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 20 + } + dim { + size: 20 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_1_1/Relu" + op: "Relu" + input: "conv2d_1_1/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 20 + } + dim { + size: 20 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2_1/truncated_normal/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\t\000\000\000\t\000\000\000\000\001\000\000\000\001\000\000" + } + } + } +} +node { + name: "conv2d_2_1/truncated_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: "conv2d_2_1/truncated_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: 0.00694444449618 + } + } + } +} +node { + name: "conv2d_2_1/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "conv2d_2_1/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 4761021 + } + } +} +node { + name: "conv2d_2_1/truncated_normal/mul" + op: "Mul" + input: "conv2d_2_1/truncated_normal/TruncatedNormal" + input: "conv2d_2_1/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2_1/truncated_normal" + op: "Add" + input: "conv2d_2_1/truncated_normal/mul" + input: "conv2d_2_1/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2_1/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_2_1/kernel/Assign" + op: "Assign" + input: "conv2d_2_1/kernel" + input: "conv2d_2_1/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_2_1/kernel/read" + op: "Identity" + input: "conv2d_2_1/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 9 + } + dim { + size: 9 + } + dim { + size: 256 + } + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 256 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "conv2d_2_1/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 256 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "conv2d_2_1/bias/Assign" + op: "Assign" + input: "conv2d_2_1/bias" + input: "conv2d_2_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "conv2d_2_1/bias/read" + op: "Identity" + input: "conv2d_2_1/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@conv2d_2_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 256 + } + } + } + } + } +} +node { + name: "conv2d_2_1/convolution/dilation_rate" + 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: "\001\000\000\000\001\000\000\000" + } + } + } +} +node { + name: "conv2d_2_1/convolution" + op: "Conv2D" + input: "activation_1_1/Relu" + input: "conv2d_2_1/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 6 + } + dim { + size: 6 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } + attr { + key: "padding" + value { + s: "VALID" + } + } + attr { + key: "strides" + value { + list { + i: 1 + i: 2 + i: 2 + i: 1 + } + } + } + attr { + key: "use_cudnn_on_gpu" + value { + b: true + } + } +} +node { + name: "conv2d_2_1/BiasAdd" + op: "BiasAdd" + input: "conv2d_2_1/convolution" + input: "conv2d_2_1/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 6 + } + dim { + size: 6 + } + dim { + size: 256 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "reshape_1_1/Reshape/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\377\377\377\377\010\000\000\000\200\004\000\000" + } + } + } +} +node { + name: "reshape_1_1/Reshape" + op: "Reshape" + input: "conv2d_2_1/BiasAdd" + input: "reshape_1_1/Reshape/shape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "squash_1_1/Square" + op: "Square" + input: "reshape_1_1/Reshape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "squash_1_1/Sum/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "squash_1_1/Sum" + op: "Sum" + input: "squash_1_1/Square" + input: "squash_1_1/Sum/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "squash_1_1/add/x" + 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: "squash_1_1/add" + op: "Add" + input: "squash_1_1/add/x" + input: "squash_1_1/Sum" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1_1/div" + op: "RealDiv" + input: "squash_1_1/Sum" + input: "squash_1_1/add" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1_1/add_1/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "squash_1_1/add_1" + op: "Add" + input: "squash_1_1/Sum" + input: "squash_1_1/add_1/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1_1/Const" + 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: "squash_1_1/Const_1" + 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: inf + } + } + } +} +node { + name: "squash_1_1/clip_by_value/Minimum" + op: "Minimum" + input: "squash_1_1/add_1" + input: "squash_1_1/Const_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1_1/clip_by_value" + op: "Maximum" + input: "squash_1_1/clip_by_value/Minimum" + input: "squash_1_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1_1/Sqrt" + op: "Sqrt" + input: "squash_1_1/clip_by_value" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1_1/div_1" + op: "RealDiv" + input: "squash_1_1/div" + input: "squash_1_1/Sqrt" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "squash_1_1/mul" + op: "Mul" + input: "squash_1_1/div_1" + input: "reshape_1_1/Reshape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/random_uniform/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\010\000\000\000\n\000\000\000\200\004\000\000\020\000\000\000" + } + } + } +} +node { + name: "capsule_layer_2_1/random_uniform/min" + 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: "capsule_layer_2_1/random_uniform/max" + 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: "capsule_layer_2_1/random_uniform/RandomUniform" + op: "RandomUniform" + input: "capsule_layer_2_1/random_uniform/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 554449 + } + } +} +node { + name: "capsule_layer_2_1/random_uniform/sub" + op: "Sub" + input: "capsule_layer_2_1/random_uniform/max" + input: "capsule_layer_2_1/random_uniform/min" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/random_uniform/mul" + op: "Mul" + input: "capsule_layer_2_1/random_uniform/RandomUniform" + input: "capsule_layer_2_1/random_uniform/sub" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/random_uniform" + op: "Add" + input: "capsule_layer_2_1/random_uniform/mul" + input: "capsule_layer_2_1/random_uniform/min" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/W" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2_1/W/Assign" + op: "Assign" + input: "capsule_layer_2_1/W" + input: "capsule_layer_2_1/random_uniform" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/W" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "capsule_layer_2_1/W/read" + op: "Identity" + input: "capsule_layer_2_1/W" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/W" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "capsule_layer_2_1/b" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2_1/b/Assign" + op: "Assign" + input: "capsule_layer_2_1/b" + input: "capsule_layer_2_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/b" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "capsule_layer_2_1/b/read" + op: "Identity" + input: "capsule_layer_2_1/b" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/b" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "capsule_layer_2_1/c" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2_1/c/Assign" + op: "Assign" + input: "capsule_layer_2_1/c" + input: "capsule_layer_2_1/Const_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/c" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "capsule_layer_2_1/c/read" + op: "Identity" + input: "capsule_layer_2_1/c" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/c" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims" + op: "ExpandDims" + input: "squash_1_1/mul" + input: "capsule_layer_2_1/ExpandDims/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/split/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2_1/split" + op: "Split" + input: "capsule_layer_2_1/split/split_dim" + input: "capsule_layer_2_1/ExpandDims" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 1 + } + dim { + size: 1152 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/concat/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2_1/concat" + op: "ConcatV2" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/split" + input: "capsule_layer_2_1/concat/axis" + attr { + key: "N" + value { + i: 10 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/Shape" + op: "Shape" + input: "capsule_layer_2_1/concat" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2_1/map/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/map/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/strided_slice" + op: "StridedSlice" + input: "capsule_layer_2_1/map/Shape" + input: "capsule_layer_2_1/map/strided_slice/stack" + input: "capsule_layer_2_1/map/strided_slice/stack_1" + input: "capsule_layer_2_1/map/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArray" + op: "TensorArrayV3" + input: "capsule_layer_2_1/map/strided_slice" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + shape { + } + } + } + } + attr { + key: "clear_after_read" + value { + b: true + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "dynamic_size" + value { + b: false + } + } + attr { + key: "element_shape" + value { + shape { + unknown_rank: true + } + } + } + attr { + key: "tensor_array_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/Shape" + op: "Shape" + input: "capsule_layer_2_1/concat" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice" + op: "StridedSlice" + input: "capsule_layer_2_1/map/TensorArrayUnstack/Shape" + input: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice/stack" + input: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice/stack_1" + input: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/range/start" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/range/delta" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/range" + op: "Range" + input: "capsule_layer_2_1/map/TensorArrayUnstack/range/start" + input: "capsule_layer_2_1/map/TensorArrayUnstack/strided_slice" + input: "capsule_layer_2_1/map/TensorArrayUnstack/range/delta" + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3" + op: "TensorArrayScatterV3" + input: "capsule_layer_2_1/map/TensorArray" + input: "capsule_layer_2_1/map/TensorArrayUnstack/range" + input: "capsule_layer_2_1/concat" + input: "capsule_layer_2_1/map/TensorArray:1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/concat" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArray_1" + op: "TensorArrayV3" + input: "capsule_layer_2_1/map/strided_slice" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + shape { + } + } + } + } + attr { + key: "clear_after_read" + value { + b: true + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "dynamic_size" + value { + b: false + } + } + attr { + key: "element_shape" + value { + shape { + unknown_rank: true + } + } + } + attr { + key: "tensor_array_name" + value { + s: "" + } + } +} +node { + name: "capsule_layer_2_1/map/while/Enter" + op: "Enter" + input: "capsule_layer_2_1/map/Const" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2_1/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: false + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2_1/map/while/Enter_1" + op: "Enter" + input: "capsule_layer_2_1/map/TensorArray_1:1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2_1/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: false + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2_1/map/while/Merge" + op: "Merge" + input: "capsule_layer_2_1/map/while/Enter" + input: "capsule_layer_2_1/map/while/NextIteration" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Merge_1" + op: "Merge" + input: "capsule_layer_2_1/map/while/Enter_1" + input: "capsule_layer_2_1/map/while/NextIteration_1" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Less/Enter" + op: "Enter" + input: "capsule_layer_2_1/map/strided_slice" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2_1/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2_1/map/while/Less" + op: "Less" + input: "capsule_layer_2_1/map/while/Merge" + input: "capsule_layer_2_1/map/while/Less/Enter" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/LoopCond" + op: "LoopCond" + input: "capsule_layer_2_1/map/while/Less" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Switch" + op: "Switch" + input: "capsule_layer_2_1/map/while/Merge" + input: "capsule_layer_2_1/map/while/LoopCond" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/while/Merge" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Switch_1" + op: "Switch" + input: "capsule_layer_2_1/map/while/Merge_1" + input: "capsule_layer_2_1/map/while/LoopCond" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/while/Merge_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Identity" + op: "Identity" + input: "capsule_layer_2_1/map/while/Switch:1" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Identity_1" + op: "Identity" + input: "capsule_layer_2_1/map/while/Switch_1:1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/TensorArrayReadV3/Enter" + op: "Enter" + input: "capsule_layer_2_1/map/TensorArray" + attr { + key: "T" + value { + type: DT_RESOURCE + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2_1/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2_1/map/while/TensorArrayReadV3/Enter_1" + op: "Enter" + input: "capsule_layer_2_1/map/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2_1/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2_1/map/while/TensorArrayReadV3" + op: "TensorArrayReadV3" + input: "capsule_layer_2_1/map/while/TensorArrayReadV3/Enter" + input: "capsule_layer_2_1/map/while/Identity" + input: "capsule_layer_2_1/map/while/TensorArrayReadV3/Enter_1" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } +} +node { + name: "capsule_layer_2_1/map/while/Shape" + op: "Const" + input: "^capsule_layer_2_1/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\010\000\000\000\n\000\000\000\200\004\000\000" + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/concat/values_1" + op: "Const" + input: "^capsule_layer_2_1/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/concat/axis" + op: "Const" + input: "^capsule_layer_2_1/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/concat" + op: "ConcatV2" + input: "capsule_layer_2_1/map/while/Shape" + input: "capsule_layer_2_1/map/while/concat/values_1" + input: "capsule_layer_2_1/map/while/concat/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Reshape" + op: "Reshape" + input: "capsule_layer_2_1/map/while/TensorArrayReadV3" + input: "capsule_layer_2_1/map/while/concat" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/MatMul/Enter" + op: "Enter" + input: "capsule_layer_2_1/W/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1152 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2_1/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2_1/map/while/MatMul" + op: "BatchMatMul" + input: "capsule_layer_2_1/map/while/Reshape" + input: "capsule_layer_2_1/map/while/MatMul/Enter" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "adj_x" + value { + b: true + } + } + attr { + key: "adj_y" + value { + b: false + } + } +} +node { + name: "capsule_layer_2_1/map/while/Squeeze" + op: "Squeeze" + input: "capsule_layer_2_1/map/while/MatMul" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "squeeze_dims" + value { + list { + i: 2 + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/TensorArrayWrite/TensorArrayWriteV3/Enter" + op: "Enter" + input: "capsule_layer_2_1/map/TensorArray_1" + attr { + key: "T" + value { + type: DT_RESOURCE + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/while/Squeeze" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "frame_name" + value { + s: "capsule_layer_2_1/map/while/while_context" + } + } + attr { + key: "is_constant" + value { + b: true + } + } + attr { + key: "parallel_iterations" + value { + i: 10 + } + } +} +node { + name: "capsule_layer_2_1/map/while/TensorArrayWrite/TensorArrayWriteV3" + op: "TensorArrayWriteV3" + input: "capsule_layer_2_1/map/while/TensorArrayWrite/TensorArrayWriteV3/Enter" + input: "capsule_layer_2_1/map/while/Identity" + input: "capsule_layer_2_1/map/while/Squeeze" + input: "capsule_layer_2_1/map/while/Identity_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/while/Squeeze" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/add/y" + op: "Const" + input: "^capsule_layer_2_1/map/while/Identity" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/add" + op: "Add" + input: "capsule_layer_2_1/map/while/Identity" + input: "capsule_layer_2_1/map/while/add/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/NextIteration" + op: "NextIteration" + input: "capsule_layer_2_1/map/while/add" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/NextIteration_1" + op: "NextIteration" + input: "capsule_layer_2_1/map/while/TensorArrayWrite/TensorArrayWriteV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Exit" + op: "Exit" + input: "capsule_layer_2_1/map/while/Switch" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/while/Exit_1" + op: "Exit" + input: "capsule_layer_2_1/map/while/Switch_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayStack/TensorArraySizeV3" + op: "TensorArraySizeV3" + input: "capsule_layer_2_1/map/TensorArray_1" + input: "capsule_layer_2_1/map/while/Exit_1" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayStack/range/start" + op: "Const" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayStack/range/delta" + op: "Const" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayStack/range" + op: "Range" + input: "capsule_layer_2_1/map/TensorArrayStack/range/start" + input: "capsule_layer_2_1/map/TensorArrayStack/TensorArraySizeV3" + input: "capsule_layer_2_1/map/TensorArrayStack/range/delta" + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/map/TensorArrayStack/TensorArrayGatherV3" + op: "TensorArrayGatherV3" + input: "capsule_layer_2_1/map/TensorArray_1" + input: "capsule_layer_2_1/map/TensorArrayStack/range" + input: "capsule_layer_2_1/map/while/Exit_1" + attr { + key: "_class" + value { + list { + s: "loc:@capsule_layer_2_1/map/TensorArray_1" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "element_shape" + value { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } +} +node { + name: "capsule_layer_2_1/Shape" + op: "Shape" + input: "capsule_layer_2_1/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_1/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_1" + op: "ExpandDims" + input: "capsule_layer_2_1/b/read" + input: "capsule_layer_2_1/ExpandDims_1/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_2/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_2" + op: "ExpandDims" + input: "capsule_layer_2_1/c/read" + input: "capsule_layer_2_1/ExpandDims_2/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Shape_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\001\000\000\000\010\000\000\000\n\000\000\000" + } + } + } +} +node { + name: "capsule_layer_2_1/Rank" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2_1/Shape_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 3 + } + } + tensor_content: "\001\000\000\000\010\000\000\000\n\000\000\000" + } + } + } +} +node { + name: "capsule_layer_2_1/Sub/y" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sub" + op: "Sub" + input: "capsule_layer_2_1/Rank" + input: "capsule_layer_2_1/Sub/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/Slice/begin" + op: "Pack" + input: "capsule_layer_2_1/Sub" + attr { + key: "N" + value { + i: 1 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2_1/Slice/size" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Slice" + op: "Slice" + input: "capsule_layer_2_1/Shape_2" + input: "capsule_layer_2_1/Slice/begin" + input: "capsule_layer_2_1/Slice/size" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/concat_1/values_0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_1/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_1" + op: "ConcatV2" + input: "capsule_layer_2_1/concat_1/values_0" + input: "capsule_layer_2_1/Slice" + input: "capsule_layer_2_1/concat_1/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Reshape" + op: "Reshape" + input: "capsule_layer_2_1/ExpandDims_1" + input: "capsule_layer_2_1/concat_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Softmax" + op: "Softmax" + input: "capsule_layer_2_1/Reshape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Reshape_1" + op: "Reshape" + input: "capsule_layer_2_1/Softmax" + input: "capsule_layer_2_1/Shape_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_3/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_3" + op: "ExpandDims" + input: "capsule_layer_2_1/Reshape_1" + input: "capsule_layer_2_1/ExpandDims_3/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_3" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/split_1/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/split_1" + op: "Split" + input: "capsule_layer_2_1/split_1/split_dim" + input: "capsule_layer_2_1/ExpandDims_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/concat_2/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_2" + op: "ConcatV2" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/split_1" + input: "capsule_layer_2_1/concat_2/axis" + attr { + key: "N" + value { + i: 16 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul" + op: "Mul" + input: "capsule_layer_2_1/concat_2" + input: "capsule_layer_2_1/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum" + op: "Sum" + input: "capsule_layer_2_1/mul" + input: "capsule_layer_2_1/Sum/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2_1/Square" + op: "Square" + input: "capsule_layer_2_1/Sum" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_1/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_1" + op: "Sum" + input: "capsule_layer_2_1/Square" + input: "capsule_layer_2_1/Sum_1/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "capsule_layer_2_1/add/x" + 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: "capsule_layer_2_1/add" + op: "Add" + input: "capsule_layer_2_1/add/x" + input: "capsule_layer_2_1/Sum_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/div" + op: "RealDiv" + input: "capsule_layer_2_1/Sum_1" + input: "capsule_layer_2_1/add" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/add_1/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "capsule_layer_2_1/add_1" + op: "Add" + input: "capsule_layer_2_1/Sum_1" + input: "capsule_layer_2_1/add_1/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_4" + 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: "capsule_layer_2_1/Const_5" + 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: inf + } + } + } +} +node { + name: "capsule_layer_2_1/clip_by_value/Minimum" + op: "Minimum" + input: "capsule_layer_2_1/add_1" + input: "capsule_layer_2_1/Const_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/clip_by_value" + op: "Maximum" + input: "capsule_layer_2_1/clip_by_value/Minimum" + input: "capsule_layer_2_1/Const_4" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sqrt" + op: "Sqrt" + input: "capsule_layer_2_1/clip_by_value" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/div_1" + op: "RealDiv" + input: "capsule_layer_2_1/div" + input: "capsule_layer_2_1/Sqrt" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul_1" + op: "Mul" + input: "capsule_layer_2_1/div_1" + input: "capsule_layer_2_1/Sum" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_4/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_4" + op: "ExpandDims" + input: "capsule_layer_2_1/mul_1" + input: "capsule_layer_2_1/ExpandDims_4/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice" + op: "StridedSlice" + input: "capsule_layer_2_1/Shape" + input: "capsule_layer_2_1/strided_slice/stack" + input: "capsule_layer_2_1/strided_slice/stack_1" + input: "capsule_layer_2_1/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/Tile/multiples/0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Tile/multiples/2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Tile/multiples/3" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Tile/multiples" + op: "Pack" + input: "capsule_layer_2_1/Tile/multiples/0" + input: "capsule_layer_2_1/strided_slice" + input: "capsule_layer_2_1/Tile/multiples/2" + input: "capsule_layer_2_1/Tile/multiples/3" + attr { + key: "N" + value { + i: 4 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2_1/Tile" + op: "Tile" + input: "capsule_layer_2_1/ExpandDims_4" + input: "capsule_layer_2_1/Tile/multiples" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tmultiples" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul_2" + op: "Mul" + input: "capsule_layer_2_1/map/TensorArrayStack/TensorArrayGatherV3" + input: "capsule_layer_2_1/Tile" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_2/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_2" + op: "Sum" + input: "capsule_layer_2_1/mul_2" + input: "capsule_layer_2_1/Sum_2/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2_1/add_2" + op: "Add" + input: "capsule_layer_2_1/ExpandDims_1" + input: "capsule_layer_2_1/Sum_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Shape_3" + op: "Shape" + input: "capsule_layer_2_1/add_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2_1/Rank_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2_1/Shape_4" + op: "Shape" + input: "capsule_layer_2_1/add_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2_1/Sub_1/y" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sub_1" + op: "Sub" + input: "capsule_layer_2_1/Rank_1" + input: "capsule_layer_2_1/Sub_1/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/Slice_1/begin" + op: "Pack" + input: "capsule_layer_2_1/Sub_1" + attr { + key: "N" + value { + i: 1 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2_1/Slice_1/size" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Slice_1" + op: "Slice" + input: "capsule_layer_2_1/Shape_4" + input: "capsule_layer_2_1/Slice_1/begin" + input: "capsule_layer_2_1/Slice_1/size" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/concat_3/values_0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_3/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_3" + op: "ConcatV2" + input: "capsule_layer_2_1/concat_3/values_0" + input: "capsule_layer_2_1/Slice_1" + input: "capsule_layer_2_1/concat_3/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Reshape_2" + op: "Reshape" + input: "capsule_layer_2_1/add_2" + input: "capsule_layer_2_1/concat_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Softmax_1" + op: "Softmax" + input: "capsule_layer_2_1/Reshape_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Reshape_3" + op: "Reshape" + input: "capsule_layer_2_1/Softmax_1" + input: "capsule_layer_2_1/Shape_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_5/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_5" + op: "ExpandDims" + input: "capsule_layer_2_1/Reshape_3" + input: "capsule_layer_2_1/ExpandDims_5/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_6" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/split_2/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/split_2" + op: "Split" + input: "capsule_layer_2_1/split_2/split_dim" + input: "capsule_layer_2_1/ExpandDims_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/concat_4/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_4" + op: "ConcatV2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/split_2" + input: "capsule_layer_2_1/concat_4/axis" + attr { + key: "N" + value { + i: 16 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul_3" + op: "Mul" + input: "capsule_layer_2_1/concat_4" + input: "capsule_layer_2_1/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_3/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_3" + op: "Sum" + input: "capsule_layer_2_1/mul_3" + input: "capsule_layer_2_1/Sum_3/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2_1/Square_1" + op: "Square" + input: "capsule_layer_2_1/Sum_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_4/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_4" + op: "Sum" + input: "capsule_layer_2_1/Square_1" + input: "capsule_layer_2_1/Sum_4/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "capsule_layer_2_1/add_3/x" + 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: "capsule_layer_2_1/add_3" + op: "Add" + input: "capsule_layer_2_1/add_3/x" + input: "capsule_layer_2_1/Sum_4" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/div_2" + op: "RealDiv" + input: "capsule_layer_2_1/Sum_4" + input: "capsule_layer_2_1/add_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/add_4/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "capsule_layer_2_1/add_4" + op: "Add" + input: "capsule_layer_2_1/Sum_4" + input: "capsule_layer_2_1/add_4/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_7" + 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: "capsule_layer_2_1/Const_8" + 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: inf + } + } + } +} +node { + name: "capsule_layer_2_1/clip_by_value_1/Minimum" + op: "Minimum" + input: "capsule_layer_2_1/add_4" + input: "capsule_layer_2_1/Const_8" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/clip_by_value_1" + op: "Maximum" + input: "capsule_layer_2_1/clip_by_value_1/Minimum" + input: "capsule_layer_2_1/Const_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sqrt_1" + op: "Sqrt" + input: "capsule_layer_2_1/clip_by_value_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/div_3" + op: "RealDiv" + input: "capsule_layer_2_1/div_2" + input: "capsule_layer_2_1/Sqrt_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul_4" + op: "Mul" + input: "capsule_layer_2_1/div_3" + input: "capsule_layer_2_1/Sum_3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_6/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_6" + op: "ExpandDims" + input: "capsule_layer_2_1/mul_4" + input: "capsule_layer_2_1/ExpandDims_6/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice_1/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice_1/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 2 + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice_1/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/strided_slice_1" + op: "StridedSlice" + input: "capsule_layer_2_1/Shape" + input: "capsule_layer_2_1/strided_slice_1/stack" + input: "capsule_layer_2_1/strided_slice_1/stack_1" + input: "capsule_layer_2_1/strided_slice_1/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 0 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/Tile_1/multiples/0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Tile_1/multiples/2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Tile_1/multiples/3" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Tile_1/multiples" + op: "Pack" + input: "capsule_layer_2_1/Tile_1/multiples/0" + input: "capsule_layer_2_1/strided_slice_1" + input: "capsule_layer_2_1/Tile_1/multiples/2" + input: "capsule_layer_2_1/Tile_1/multiples/3" + attr { + key: "N" + value { + i: 4 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2_1/Tile_1" + op: "Tile" + input: "capsule_layer_2_1/ExpandDims_6" + input: "capsule_layer_2_1/Tile_1/multiples" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tmultiples" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul_5" + op: "Mul" + input: "capsule_layer_2_1/map/TensorArrayStack/TensorArrayGatherV3" + input: "capsule_layer_2_1/Tile_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_5/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_5" + op: "Sum" + input: "capsule_layer_2_1/mul_5" + input: "capsule_layer_2_1/Sum_5/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2_1/add_5" + op: "Add" + input: "capsule_layer_2_1/add_2" + input: "capsule_layer_2_1/Sum_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Shape_5" + op: "Shape" + input: "capsule_layer_2_1/add_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2_1/Rank_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2_1/Shape_6" + op: "Shape" + input: "capsule_layer_2_1/add_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "capsule_layer_2_1/Sub_2/y" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sub_2" + op: "Sub" + input: "capsule_layer_2_1/Rank_2" + input: "capsule_layer_2_1/Sub_2/y" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } +} +node { + name: "capsule_layer_2_1/Slice_2/begin" + op: "Pack" + input: "capsule_layer_2_1/Sub_2" + attr { + key: "N" + value { + i: 1 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "capsule_layer_2_1/Slice_2/size" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Slice_2" + op: "Slice" + input: "capsule_layer_2_1/Shape_6" + input: "capsule_layer_2_1/Slice_2/begin" + input: "capsule_layer_2_1/Slice_2/size" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/concat_5/values_0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_5/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 0 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_5" + op: "ConcatV2" + input: "capsule_layer_2_1/concat_5/values_0" + input: "capsule_layer_2_1/Slice_2" + input: "capsule_layer_2_1/concat_5/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Reshape_4" + op: "Reshape" + input: "capsule_layer_2_1/add_5" + input: "capsule_layer_2_1/concat_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Softmax_2" + op: "Softmax" + input: "capsule_layer_2_1/Reshape_4" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Reshape_5" + op: "Reshape" + input: "capsule_layer_2_1/Softmax_2" + input: "capsule_layer_2_1/Shape_5" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_7/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/ExpandDims_7" + op: "ExpandDims" + input: "capsule_layer_2_1/Reshape_5" + input: "capsule_layer_2_1/ExpandDims_7/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_9" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/split_3/split_dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/split_3" + op: "Split" + input: "capsule_layer_2_1/split_3/split_dim" + input: "capsule_layer_2_1/ExpandDims_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "num_split" + value { + i: 1 + } + } +} +node { + name: "capsule_layer_2_1/concat_6/axis" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "capsule_layer_2_1/concat_6" + op: "ConcatV2" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/split_3" + input: "capsule_layer_2_1/concat_6/axis" + attr { + key: "N" + value { + i: 16 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul_6" + op: "Mul" + input: "capsule_layer_2_1/concat_6" + input: "capsule_layer_2_1/map/TensorArrayStack/TensorArrayGatherV3" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 8 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_6/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_6" + op: "Sum" + input: "capsule_layer_2_1/mul_6" + input: "capsule_layer_2_1/Sum_6/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "capsule_layer_2_1/Square_2" + op: "Square" + input: "capsule_layer_2_1/Sum_6" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_7/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "capsule_layer_2_1/Sum_7" + op: "Sum" + input: "capsule_layer_2_1/Square_2" + input: "capsule_layer_2_1/Sum_7/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: true + } + } +} +node { + name: "capsule_layer_2_1/add_6/x" + 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: "capsule_layer_2_1/add_6" + op: "Add" + input: "capsule_layer_2_1/add_6/x" + input: "capsule_layer_2_1/Sum_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/div_4" + op: "RealDiv" + input: "capsule_layer_2_1/Sum_7" + input: "capsule_layer_2_1/add_6" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/add_7/y" + 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.00000001169e-07 + } + } + } +} +node { + name: "capsule_layer_2_1/add_7" + op: "Add" + input: "capsule_layer_2_1/Sum_7" + input: "capsule_layer_2_1/add_7/y" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Const_10" + 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: "capsule_layer_2_1/Const_11" + 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: inf + } + } + } +} +node { + name: "capsule_layer_2_1/clip_by_value_2/Minimum" + op: "Minimum" + input: "capsule_layer_2_1/add_7" + input: "capsule_layer_2_1/Const_11" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/clip_by_value_2" + op: "Maximum" + input: "capsule_layer_2_1/clip_by_value_2/Minimum" + input: "capsule_layer_2_1/Const_10" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/Sqrt_2" + op: "Sqrt" + input: "capsule_layer_2_1/clip_by_value_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/div_5" + op: "RealDiv" + input: "capsule_layer_2_1/div_4" + input: "capsule_layer_2_1/Sqrt_2" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "capsule_layer_2_1/mul_7" + op: "Mul" + input: "capsule_layer_2_1/div_5" + input: "capsule_layer_2_1/Sum_6" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "mask_capsule_1_1/ExpandDims/dim" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "mask_capsule_1_1/ExpandDims" + op: "ExpandDims" + input: "input_1_1" + input: "mask_capsule_1_1/ExpandDims/dim" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tdim" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 1 + } + } + } + } + } +} +node { + name: "mask_capsule_1_1/mul" + op: "Mul" + input: "capsule_layer_2_1/mul_7" + input: "mask_capsule_1_1/ExpandDims" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "mask_capsule_1_1/Shape" + op: "Shape" + input: "mask_capsule_1_1/mul" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 3 + } + } + } + } + } + attr { + key: "out_type" + value { + type: DT_INT32 + } + } +} +node { + name: "mask_capsule_1_1/strided_slice/stack" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "mask_capsule_1_1/strided_slice/stack_1" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "mask_capsule_1_1/strided_slice/stack_2" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 1 + } + } + } +} +node { + name: "mask_capsule_1_1/strided_slice" + op: "StridedSlice" + input: "mask_capsule_1_1/Shape" + input: "mask_capsule_1_1/strided_slice/stack" + input: "mask_capsule_1_1/strided_slice/stack_1" + input: "mask_capsule_1_1/strided_slice/stack_2" + attr { + key: "Index" + value { + type: DT_INT32 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "begin_mask" + value { + i: 0 + } + } + attr { + key: "ellipsis_mask" + value { + i: 0 + } + } + attr { + key: "end_mask" + value { + i: 1 + } + } + attr { + key: "new_axis_mask" + value { + i: 0 + } + } + attr { + key: "shrink_axis_mask" + value { + i: 0 + } + } +} +node { + name: "mask_capsule_1_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 1 + } + } + int_val: 0 + } + } + } +} +node { + name: "mask_capsule_1_1/Prod" + op: "Prod" + input: "mask_capsule_1_1/strided_slice" + input: "mask_capsule_1_1/Const" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "mask_capsule_1_1/stack/0" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "mask_capsule_1_1/stack" + op: "Pack" + input: "mask_capsule_1_1/stack/0" + input: "mask_capsule_1_1/Prod" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 2 + } + } + } + } + } + attr { + key: "axis" + value { + i: 0 + } + } +} +node { + name: "mask_capsule_1_1/Reshape" + op: "Reshape" + input: "mask_capsule_1_1/mul" + input: "mask_capsule_1_1/stack" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: -1 + } + } + } + } + } +} +node { + name: "dense_1_1/truncated_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: "\240\000\000\000\000\002\000\000" + } + } + } +} +node { + name: "dense_1_1/truncated_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: "dense_1_1/truncated_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: 0.0790569409728 + } + } + } +} +node { + name: "dense_1_1/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "dense_1_1/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 187633 + } + } +} +node { + name: "dense_1_1/truncated_normal/mul" + op: "Mul" + input: "dense_1_1/truncated_normal/TruncatedNormal" + input: "dense_1_1/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1_1/truncated_normal" + op: "Add" + input: "dense_1_1/truncated_normal/mul" + input: "dense_1_1/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1_1/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_1_1/kernel/Assign" + op: "Assign" + input: "dense_1_1/kernel" + input: "dense_1_1/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_1_1/kernel/read" + op: "Identity" + input: "dense_1_1/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 160 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 512 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "dense_1_1/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 512 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_1_1/bias/Assign" + op: "Assign" + input: "dense_1_1/bias" + input: "dense_1_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_1_1/bias/read" + op: "Identity" + input: "dense_1_1/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_1_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_1_1/MatMul" + op: "MatMul" + input: "mask_capsule_1_1/Reshape" + input: "dense_1_1/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "transpose_a" + value { + b: false + } + } + attr { + key: "transpose_b" + value { + b: false + } + } +} +node { + name: "dense_1_1/BiasAdd" + op: "BiasAdd" + input: "dense_1_1/MatMul" + input: "dense_1_1/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 512 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_2_1/Relu" + op: "Relu" + input: "dense_1_1/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 512 + } + } + } + } + } +} +node { + name: "dense_2_1/truncated_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: "\000\002\000\000\000\004\000\000" + } + } + } +} +node { + name: "dense_2_1/truncated_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: "dense_2_1/truncated_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: 0.0441941730678 + } + } + } +} +node { + name: "dense_2_1/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "dense_2_1/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 6778894 + } + } +} +node { + name: "dense_2_1/truncated_normal/mul" + op: "Mul" + input: "dense_2_1/truncated_normal/TruncatedNormal" + input: "dense_2_1/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2_1/truncated_normal" + op: "Add" + input: "dense_2_1/truncated_normal/mul" + input: "dense_2_1/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2_1/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_2_1/kernel/Assign" + op: "Assign" + input: "dense_2_1/kernel" + input: "dense_2_1/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_2_1/kernel/read" + op: "Identity" + input: "dense_2_1/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 512 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 1024 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "dense_2_1/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1024 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_2_1/bias/Assign" + op: "Assign" + input: "dense_2_1/bias" + input: "dense_2_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_2_1/bias/read" + op: "Identity" + input: "dense_2_1/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_2_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_2_1/MatMul" + op: "MatMul" + input: "activation_2_1/Relu" + input: "dense_2_1/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "transpose_a" + value { + b: false + } + } + attr { + key: "transpose_b" + value { + b: false + } + } +} +node { + name: "dense_2_1/BiasAdd" + op: "BiasAdd" + input: "dense_2_1/MatMul" + input: "dense_2_1/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1024 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_3_1/Relu" + op: "Relu" + input: "dense_2_1/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 1024 + } + } + } + } + } +} +node { + name: "dense_3_1/truncated_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: "\000\004\000\000\020\003\000\000" + } + } + } +} +node { + name: "dense_3_1/truncated_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: "dense_3_1/truncated_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: 0.03125 + } + } + } +} +node { + name: "dense_3_1/truncated_normal/TruncatedNormal" + op: "TruncatedNormal" + input: "dense_3_1/truncated_normal/shape" + attr { + key: "T" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "seed" + value { + i: 87654321 + } + } + attr { + key: "seed2" + value { + i: 5323536 + } + } +} +node { + name: "dense_3_1/truncated_normal/mul" + op: "Mul" + input: "dense_3_1/truncated_normal/TruncatedNormal" + input: "dense_3_1/truncated_normal/stddev" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3_1/truncated_normal" + op: "Add" + input: "dense_3_1/truncated_normal/mul" + input: "dense_3_1/truncated_normal/mean" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3_1/kernel" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_3_1/kernel/Assign" + op: "Assign" + input: "dense_3_1/kernel" + input: "dense_3_1/truncated_normal" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_3_1/kernel/read" + op: "Identity" + input: "dense_3_1/kernel" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3_1/kernel" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 1024 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3_1/Const" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 784 + } + } + float_val: 0.0 + } + } + } +} +node { + name: "dense_3_1/bias" + op: "VariableV2" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } + attr { + key: "container" + value { + s: "" + } + } + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 784 + } + } + } + } + attr { + key: "shared_name" + value { + s: "" + } + } +} +node { + name: "dense_3_1/bias/Assign" + op: "Assign" + input: "dense_3_1/bias" + input: "dense_3_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } + attr { + key: "use_locking" + value { + b: true + } + } + attr { + key: "validate_shape" + value { + b: true + } + } +} +node { + name: "dense_3_1/bias/read" + op: "Identity" + input: "dense_3_1/bias" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_class" + value { + list { + s: "loc:@dense_3_1/bias" + } + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 784 + } + } + } + } + } +} +node { + name: "dense_3_1/MatMul" + op: "MatMul" + input: "activation_3_1/Relu" + input: "dense_3_1/kernel/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "transpose_a" + value { + b: false + } + } + attr { + key: "transpose_b" + value { + b: false + } + } +} +node { + name: "dense_3_1/BiasAdd" + op: "BiasAdd" + input: "dense_3_1/MatMul" + input: "dense_3_1/bias/read" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 784 + } + } + } + } + } + attr { + key: "data_format" + value { + s: "NHWC" + } + } +} +node { + name: "activation_4_1/Sigmoid" + op: "Sigmoid" + input: "dense_3_1/BiasAdd" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 784 + } + } + } + } + } +} +node { + name: "length_1_1/Square" + op: "Square" + input: "capsule_layer_2_1/mul_7" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + dim { + size: 16 + } + } + } + } + } +} +node { + name: "length_1_1/Sum/reduction_indices" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: -1 + } + } + } +} +node { + name: "length_1_1/Sum" + op: "Sum" + input: "length_1_1/Square" + input: "length_1_1/Sum/reduction_indices" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } + attr { + key: "keep_dims" + value { + b: false + } + } +} +node { + name: "length_1_1/Const" + 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: "length_1_1/Const_1" + 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: inf + } + } + } +} +node { + name: "length_1_1/clip_by_value/Minimum" + op: "Minimum" + input: "length_1_1/Sum" + input: "length_1_1/Const_1" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "length_1_1/clip_by_value" + op: "Maximum" + input: "length_1_1/clip_by_value/Minimum" + input: "length_1_1/Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "length_1_1/Sqrt" + op: "Sqrt" + input: "length_1_1/clip_by_value" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 10 + } + } + } + } + } +} +node { + name: "reshape_2_1/Reshape/shape" + op: "Const" + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: 4 + } + } + } + } + } + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + } + tensor_content: "\377\377\377\377\034\000\000\000\001\000\000\000\034\000\000\000" + } + } + } +} +node { + name: "reshape_2_1/Reshape" + op: "Reshape" + input: "activation_4_1/Sigmoid" + input: "reshape_2_1/Reshape/shape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } + attr { + key: "_output_shapes" + value { + list { + shape { + dim { + size: -1 + } + dim { + size: 28 + } + dim { + size: 1 + } + dim { + size: 28 + } + } + } + } + } +} +node { + name: "init" + op: "NoOp" + input: "^conv2d_1/kernel/Assign" + input: "^conv2d_1/bias/Assign" + input: "^conv2d_2/kernel/Assign" + input: "^conv2d_2/bias/Assign" + input: "^capsule_layer_2/W/Assign" + input: "^capsule_layer_2/b/Assign" + input: "^capsule_layer_2/c/Assign" + input: "^dense_1/kernel/Assign" + input: "^dense_1/bias/Assign" + input: "^dense_2/kernel/Assign" + input: "^dense_2/bias/Assign" + input: "^dense_3/kernel/Assign" + input: "^dense_3/bias/Assign" + input: "^conv2d_1_1/kernel/Assign" + input: "^conv2d_1_1/bias/Assign" + input: "^conv2d_2_1/kernel/Assign" + input: "^conv2d_2_1/bias/Assign" + input: "^capsule_layer_2_1/W/Assign" + input: "^capsule_layer_2_1/b/Assign" + input: "^capsule_layer_2_1/c/Assign" + input: "^dense_1_1/kernel/Assign" + input: "^dense_1_1/bias/Assign" + input: "^dense_2_1/kernel/Assign" + input: "^dense_2_1/bias/Assign" + input: "^dense_3_1/kernel/Assign" + input: "^dense_3_1/bias/Assign" +} +versions { + producer: 24 +} diff --git a/ide/static/img/zoo/capsnet.png b/ide/static/img/zoo/capsnet.png new file mode 100644 index 000000000..b502c4db3 Binary files /dev/null and b/ide/static/img/zoo/capsnet.png differ diff --git a/ide/static/js/content.js b/ide/static/js/content.js index 9a0c92d4c..02f1e15c4 100644 --- a/ide/static/js/content.js +++ b/ide/static/js/content.js @@ -558,6 +558,7 @@ class Content extends React.Component { var filter_layers = ["Convolution", "Deconvolution"]; var fc_layers = ["InnerProduct", "Embed", "Recurrent", "LSTM"]; + var capsule_layer = ["CapsuleLayer"]; if(filter_layers.includes(layer.info.type)) { // if layer is Conv or DeConv calculating total parameter of the layer using: @@ -573,6 +574,16 @@ class Content extends React.Component { weight_params = layer.shape['input'][0] * kernel_params * layer.params['num_output'][0]; bias_params += layer.params['num_output'][0]; } + else if(capsule_layer.includes(layer.info.type)) { + // if layer is CapsuleLayer calculating total parameters of the layer using: + // Weight parameters: In_caps * Out_caps * In_dim * Out_dim + // Bias parameters: 2 * In_caps * Out_caps + var w_shape = [layer.shape['input'][1], layer.params['num_capsule'][0], + layer.shape['input'][0], layer.params['dim_capsule'][0]] + var b_shape = [layer.shape['input'][1], layer.params['num_capsule'][0]] + weight_params = w_shape[0] * w_shape[1] * w_shape[2] * w_shape[3] + bias_params = 2 * b_shape[0] * b_shape[1] + } else if(fc_layers.includes(layer.info.type)) { // if layer is one of Recurrent layer or Fully Connected layers calculate parameters using: // Num_Input * Num_Ouput diff --git a/ide/static/js/data.js b/ide/static/js/data.js index 41bfb7119..3bb5ec1a1 100644 --- a/ide/static/js/data.js +++ b/ide/static/js/data.js @@ -1343,6 +1343,48 @@ export default { }, learn: true }, + CapsuleLayer: { + name:'capsule_layer', + color:'#ffeb3b', + endpoint:{ + src:['Bottom'], + trg:['Top'] + }, + params: { + num_capsule: { + name:'No. of Capsules', + value: '', + type: 'number', + required: true + }, + dim_capsule: { + name:'Dimension of the Capsule', + value: '', + type: 'number', + required: true + }, + num_routing: { + name: 'No. of routings', + value: '', + type: 'number', + required: true + }, + caffe: { + name: 'Available Caffe', + value: false, + type: 'checkbox', + required: false + } + }, + props: { + name: { + name:'Name', + value: '', + type: 'text' + } + }, + learn: true + }, /* ********** Recurrent Layers ********** */ Recurrent: { // Only Caffe name: 'recurrent', @@ -3065,36 +3107,36 @@ export default { }, learn: true }, - Linear: { // Only Keras - name: 'linear', - color: '#009688', - endpoint: { - src: ['Bottom'], - trg: ['Top'] - }, - params: { - inplace: { - name: 'Inplace operation', - value: true, - type: 'checkbox', - required: false - }, - caffe: { - name: 'Available Caffe', - value: false, - type: 'checkbox', - required: false - } - }, - props: { - name: { - name: 'Name', - value: '', - type: 'text' - } - }, - learn: false - }, + Squash: { + name: 'squash', + color: '#0329f4', + endpoint: { + src: ['Bottom'], + trg: ['Top'] + }, + params: { + axis: { + name: 'Axis', + value: -1, + type: 'number', + required:false + }, + caffe: { + name: 'Available Caffe', + value: false, + type: 'checkbox', + required: false + } + }, + props:{ + name: { + name:'Name', + value: '', + type: 'text' + } + }, + learn: false + }, /* ********** Utility Layers ********** */ Flatten: { name: 'flatten', @@ -3633,6 +3675,54 @@ export default { }, learn: false }, + Length: { + name:'length', + color: '#ffeb3c', + endpoint: { + src:['Bottom'], + trg:['Top'] + }, + params: { + caffe: { + name:'Available Caffe', + value: false, + type: 'checkbox', + required: false + } + }, + props: { + name: { + name: 'Name', + value: '', + type: 'text' + } + }, + learn: false + }, + MaskCapsule: { + name:'mask_capsule', + color: '#ff98c0', + endpoint: { + src:['Bottom'], + trg:['Top'] + }, + params: { + caffe: { + name:'Available Caffe', + value: false, + type: 'checkbox', + required: false + } + }, + props:{ + name: { + name: "Name", + value: '', + type: 'text' + } + }, + learn: false + }, /* ********** Loss Layers ********** */ MultinomialLogisticLoss: { // Only Caffe name: 'multinomial logistic loss', diff --git a/ide/static/js/modelElement.js b/ide/static/js/modelElement.js index dbf326e3b..c6c1d94d5 100644 --- a/ide/static/js/modelElement.js +++ b/ide/static/js/modelElement.js @@ -6,6 +6,7 @@ class ModelElement extends React.Component { } render() { if (this.props.children){ + console.log(this.props) return (