File size: 12,556 Bytes
c6e93c1
1
{"format": "graph-model", "generatedBy": "2.15.0", "convertedBy": "TensorFlow.js Converter v4.16.0", "signature": {"inputs": {"input": {"name": "input:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "1"}, {"size": "70"}]}}}, "outputs": {"output": {"name": "Identity:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "1"}, {"size": "128"}]}}}}, "modelTopology": {"node": [{"name": "StatefulPartitionedCall/model_2/flatten/Const", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "2"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "unknown", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "70"}, {"size": "256"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/moments/mean/reduction_indices", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/moments/variance/reduction_indices", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add/y", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "256"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "unknown_4", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "256"}, {"size": "128"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/moments/mean/reduction_indices", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/moments/variance/reduction_indices", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/add/y", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "128"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/tf.reshape/Reshape/shape", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "3"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/model_2/output/Reshape/shape", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "2"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "input", "op": "Placeholder", "attr": {"shape": {"shape": {"dim": [{"size": "1"}, {"size": "70"}]}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/flatten/Reshape", "op": "Reshape", "input": ["input", "StatefulPartitionedCall/model_2/flatten/Const"], "attr": {"T": {"type": "DT_FLOAT"}, "Tshape": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/model_2/tf.linalg.matmul/MatMul", "op": "MatMul", "input": ["StatefulPartitionedCall/model_2/flatten/Reshape", "unknown"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "T": {"type": "DT_FLOAT"}, "transpose_b": {"b": false}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/moments/mean", "op": "Mean", "input": ["StatefulPartitionedCall/model_2/tf.linalg.matmul/MatMul", "StatefulPartitionedCall/model_2/layer_normalization/moments/mean/reduction_indices"], "attr": {"Tidx": {"type": "DT_INT32"}, "T": {"type": "DT_FLOAT"}, "keep_dims": {"b": true}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/moments/SquaredDifference", "op": "SquaredDifference", "input": ["StatefulPartitionedCall/model_2/tf.linalg.matmul/MatMul", "StatefulPartitionedCall/model_2/layer_normalization/moments/mean"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/moments/variance", "op": "Mean", "input": ["StatefulPartitionedCall/model_2/layer_normalization/moments/SquaredDifference", "StatefulPartitionedCall/model_2/layer_normalization/moments/variance/reduction_indices"], "attr": {"T": {"type": "DT_FLOAT"}, "Tidx": {"type": "DT_INT32"}, "keep_dims": {"b": true}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add", "op": "AddV2", "input": ["StatefulPartitionedCall/model_2/layer_normalization/moments/variance", "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add/y"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/Rsqrt", "op": "Rsqrt", "input": ["StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul", "op": "Mul", "input": ["StatefulPartitionedCall/model_2/layer_normalization/batchnorm/Rsqrt", "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul/ReadVariableOp"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul_2", "op": "Mul", "input": ["StatefulPartitionedCall/model_2/layer_normalization/moments/mean", "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul_1", "op": "Mul", "input": ["StatefulPartitionedCall/model_2/tf.linalg.matmul/MatMul", "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add_1", "op": "Sub", "input": ["StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul_1", "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul_2"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/tf.math.softplus/Softplus", "op": "Softplus", "input": ["StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add_1"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/tf.math.tanh/Tanh", "op": "Tanh", "input": ["StatefulPartitionedCall/model_2/tf.math.softplus/Softplus"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/tf.math.multiply_4/Mul", "op": "Mul", "input": ["StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add_1", "StatefulPartitionedCall/model_2/tf.math.tanh/Tanh"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/tf.linalg.matmul_1/MatMul", "op": "MatMul", "input": ["StatefulPartitionedCall/model_2/tf.math.multiply_4/Mul", "unknown_4"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "T": {"type": "DT_FLOAT"}, "transpose_b": {"b": false}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/moments/mean", "op": "Mean", "input": ["StatefulPartitionedCall/model_2/tf.linalg.matmul_1/MatMul", "StatefulPartitionedCall/model_2/layer_normalization_1/moments/mean/reduction_indices"], "attr": {"Tidx": {"type": "DT_INT32"}, "T": {"type": "DT_FLOAT"}, "keep_dims": {"b": true}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/moments/SquaredDifference", "op": "SquaredDifference", "input": ["StatefulPartitionedCall/model_2/tf.linalg.matmul_1/MatMul", "StatefulPartitionedCall/model_2/layer_normalization_1/moments/mean"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/moments/variance", "op": "Mean", "input": ["StatefulPartitionedCall/model_2/layer_normalization_1/moments/SquaredDifference", "StatefulPartitionedCall/model_2/layer_normalization_1/moments/variance/reduction_indices"], "attr": {"Tidx": {"type": "DT_INT32"}, "T": {"type": "DT_FLOAT"}, "keep_dims": {"b": true}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/add", "op": "AddV2", "input": ["StatefulPartitionedCall/model_2/layer_normalization_1/moments/variance", "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/add/y"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/Rsqrt", "op": "Rsqrt", "input": ["StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul", "op": "Mul", "input": ["StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/Rsqrt", "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul/ReadVariableOp"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul_2", "op": "Mul", "input": ["StatefulPartitionedCall/model_2/layer_normalization_1/moments/mean", "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul_1", "op": "Mul", "input": ["StatefulPartitionedCall/model_2/tf.linalg.matmul_1/MatMul", "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/add_1", "op": "Sub", "input": ["StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul_1", "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul_2"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/tf.reshape/Reshape", "op": "Reshape", "input": ["StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/add_1", "StatefulPartitionedCall/model_2/tf.reshape/Reshape/shape"], "attr": {"T": {"type": "DT_FLOAT"}, "Tshape": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/model_2/tf.nn.softmax/wa/1/act/Softmax", "op": "Softmax", "input": ["StatefulPartitionedCall/model_2/tf.reshape/Reshape"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/model_2/output/Reshape", "op": "Reshape", "input": ["StatefulPartitionedCall/model_2/tf.nn.softmax/wa/1/act/Softmax", "StatefulPartitionedCall/model_2/output/Reshape/shape"], "attr": {"T": {"type": "DT_FLOAT"}, "Tshape": {"type": "DT_INT32"}}}, {"name": "Identity", "op": "Identity", "input": ["StatefulPartitionedCall/model_2/output/Reshape"], "attr": {"T": {"type": "DT_FLOAT"}}}], "library": {}, "versions": {"producer": 1645}}, "weightsManifest": [{"paths": ["group1-shard1of1.bin"], "weights": [{"name": "StatefulPartitionedCall/model_2/flatten/Const", "shape": [2], "dtype": "int32"}, {"name": "unknown", "shape": [70, 256], "dtype": "float32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/moments/mean/reduction_indices", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/moments/variance/reduction_indices", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/add/y", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization/batchnorm/mul/ReadVariableOp", "shape": [256], "dtype": "float32"}, {"name": "unknown_4", "shape": [256, 128], "dtype": "float32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/moments/mean/reduction_indices", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/moments/variance/reduction_indices", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/add/y", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/model_2/layer_normalization_1/batchnorm/mul/ReadVariableOp", "shape": [128], "dtype": "float32"}, {"name": "StatefulPartitionedCall/model_2/tf.reshape/Reshape/shape", "shape": [3], "dtype": "int32"}, {"name": "StatefulPartitionedCall/model_2/output/Reshape/shape", "shape": [2], "dtype": "int32"}]}]}