Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------------------------------
- InvalidArgumentError Traceback (most recent call last)
- <ipython-input-7-c548bab089a8> in <module>
- ----> 1 tflite_model = converter.convert()
- ~/.env/lib/python3.8/site-packages/tensorflow/lite/python/lite.py in convert(self)
- 1116 Invalid quantization parameters.
- 1117 """
- -> 1118 return super(TFLiteConverterV2, self).convert()
- 1119
- 1120
- ~/.env/lib/python3.8/site-packages/tensorflow/lite/python/lite.py in convert(self)
- 919
- 920 frozen_func, graph_def = (
- --> 921 _convert_to_constants.convert_variables_to_constants_v2_as_graph(
- 922 self._funcs[0], lower_control_flow=False))
- 923
- ~/.env/lib/python3.8/site-packages/tensorflow/python/framework/convert_to_constants.py in convert_variables_to_constants_v2_as_graph(func, lower_control_flow, aggressive_inlining)
- 1108 converter_data=converter_data)
- 1109
- -> 1110 frozen_func = _construct_concrete_function(func, output_graph_def,
- 1111 converted_input_indices)
- 1112 return frozen_func, output_graph_def
- ~/.env/lib/python3.8/site-packages/tensorflow/python/framework/convert_to_constants.py in _construct_concrete_function(func, output_graph_def, converted_input_indices)
- 999 new_input_names = [tensor.name for tensor in not_converted_inputs]
- 1000 new_output_names = [tensor.name for tensor in func.outputs]
- -> 1001 new_func = wrap_function.function_from_graph_def(output_graph_def,
- 1002 new_input_names,
- 1003 new_output_names)
- ~/.env/lib/python3.8/site-packages/tensorflow/python/eager/wrap_function.py in function_from_graph_def(graph_def, inputs, outputs)
- 648 importer.import_graph_def(graph_def, name="")
- 649
- --> 650 wrapped_import = wrap_function(_imports_graph_def, [])
- 651 import_graph = wrapped_import.graph
- 652 return wrapped_import.prune(
- ~/.env/lib/python3.8/site-packages/tensorflow/python/eager/wrap_function.py in wrap_function(fn, signature, name)
- 618 if name is not None:
- 619 func_graph_name = "wrapped_function_" + name
- --> 620 return WrappedFunction(
- 621 func_graph.func_graph_from_py_func(
- 622 func_graph_name,
- ~/.env/lib/python3.8/site-packages/tensorflow/python/eager/wrap_function.py in __init__(self, fn_graph, variable_holder, attrs, signature)
- 227 # properly reflects the new captured inputs.
- 228 for f in fn_graph.as_graph_def().library.function:
- --> 229 context.context().add_function_def(f)
- 230 self._signature = signature
- 231 super(WrappedFunction, self).__init__(fn_graph, attrs=attrs)
- ~/.env/lib/python3.8/site-packages/tensorflow/python/eager/context.py in add_function_def(self, fdef)
- 1135 self.ensure_initialized()
- 1136 fdef_string = fdef.SerializeToString()
- -> 1137 pywrap_tfe.TFE_ContextAddFunctionDef(self._handle, fdef_string,
- 1138 len(fdef_string))
- 1139
- InvalidArgumentError: Attempting to add a duplicate function with name: __inference_standard_lstm_32975 where the previous and current definitions differ. Previous definition: signature {
- name: "__inference_standard_lstm_32975"
- input_arg {
- name: "inputs"
- type: DT_FLOAT
- }
- input_arg {
- name: "init_h"
- type: DT_FLOAT
- }
- input_arg {
- name: "init_c"
- type: DT_FLOAT
- }
- input_arg {
- name: "kernel"
- type: DT_FLOAT
- }
- input_arg {
- name: "recurrent_kernel"
- type: DT_FLOAT
- }
- input_arg {
- name: "bias"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_1"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_2"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_3"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_4"
- type: DT_FLOAT
- }
- }
- node_def {
- name: "transpose/perm"
- op: "Const"
- 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\000\000\000\000\002\000\000\000"
- }
- }
- }
- experimental_debug_info {
- original_node_names: "transpose/perm"
- }
- }
- node_def {
- name: "transpose"
- op: "Transpose"
- input: "inputs"
- input: "transpose/perm:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "Tperm"
- value {
- type: DT_INT32
- }
- }
- experimental_debug_info {
- original_node_names: "transpose"
- }
- }
- node_def {
- name: "Shape"
- op: "Const"
- 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\001\000\000\000@\001\000\000"
- }
- }
- }
- experimental_debug_info {
- original_node_names: "Shape"
- }
- }
- node_def {
- name: "strided_slice/stack"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 0
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice/stack"
- }
- }
- node_def {
- name: "strided_slice/stack_1"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice/stack_1"
- }
- }
- node_def {
- name: "strided_slice/stack_2"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice/stack_2"
- }
- }
- node_def {
- name: "strided_slice"
- op: "StridedSlice"
- input: "Shape:output:0"
- input: "strided_slice/stack:output:0"
- input: "strided_slice/stack_1:output:0"
- input: "strided_slice/stack_2:output:0"
- attr {
- key: "Index"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "T"
- value {
- type: DT_INT32
- }
- }
- 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
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice"
- }
- }
- node_def {
- name: "TensorArrayV2/element_shape"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: -1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayV2/element_shape"
- }
- }
- node_def {
- name: "TensorArrayV2"
- op: "TensorListReserve"
- input: "TensorArrayV2/element_shape:output:0"
- input: "strided_slice:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "shape_type"
- value {
- type: DT_INT32
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayV2"
- }
- }
- node_def {
- name: "TensorArrayUnstack/TensorListFromTensor/element_shape"
- op: "Const"
- 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"
- }
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayUnstack/TensorListFromTensor/element_shape"
- }
- }
- node_def {
- name: "TensorArrayUnstack/TensorListFromTensor"
- op: "TensorListFromTensor"
- input: "transpose:y:0"
- input: "TensorArrayUnstack/TensorListFromTensor/element_shape:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "shape_type"
- value {
- type: DT_INT32
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayUnstack/TensorListFromTensor"
- }
- }
- node_def {
- name: "strided_slice_1/stack"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 0
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_1/stack"
- }
- }
- node_def {
- name: "strided_slice_1/stack_1"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_1/stack_1"
- }
- }
- node_def {
- name: "strided_slice_1/stack_2"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_1/stack_2"
- }
- }
- node_def {
- name: "strided_slice_1"
- op: "StridedSlice"
- input: "transpose:y:0"
- input: "strided_slice_1/stack:output:0"
- input: "strided_slice_1/stack_1:output:0"
- input: "strided_slice_1/stack_2:output:0"
- attr {
- key: "Index"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- 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
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_1"
- }
- }
- node_def {
- name: "MatMul"
- op: "MatMul"
- input: "strided_slice_1:output:0"
- input: "kernel"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "transpose_a"
- value {
- b: false
- }
- }
- attr {
- key: "transpose_b"
- value {
- b: false
- }
- }
- experimental_debug_info {
- original_node_names: "MatMul"
- }
- }
- node_def {
- name: "MatMul_1"
- op: "MatMul"
- input: "init_h"
- input: "recurrent_kernel"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "transpose_a"
- value {
- b: false
- }
- }
- attr {
- key: "transpose_b"
- value {
- b: false
- }
- }
- experimental_debug_info {
- original_node_names: "MatMul_1"
- }
- }
- node_def {
- name: "add"
- op: "AddV2"
- input: "MatMul:product:0"
- input: "MatMul_1:product:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "add"
- }
- }
- node_def {
- name: "BiasAdd"
- op: "BiasAdd"
- input: "add:z:0"
- input: "bias"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "data_format"
- value {
- s: "NHWC"
- }
- }
- experimental_debug_info {
- original_node_names: "BiasAdd"
- }
- }
- node_def {
- name: "Const"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 4
- }
- }
- }
- experimental_debug_info {
- original_node_names: "Const"
- }
- }
- node_def {
- name: "split/split_dim"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "split/split_dim"
- }
- }
- node_def {
- name: "split"
- op: "Split"
- input: "split/split_dim:output:0"
- input: "BiasAdd:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "num_split"
- value {
- i: 4
- }
- }
- experimental_debug_info {
- original_node_names: "split"
- }
- }
- node_def {
- name: "Sigmoid"
- op: "Sigmoid"
- input: "split:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Sigmoid"
- }
- }
- node_def {
- name: "Sigmoid_1"
- op: "Sigmoid"
- input: "split:output:1"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Sigmoid_1"
- }
- }
- node_def {
- name: "mul"
- op: "Mul"
- input: "Sigmoid_1:y:0"
- input: "init_c"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "mul"
- }
- }
- node_def {
- name: "Tanh"
- op: "Tanh"
- input: "split:output:2"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Tanh"
- }
- }
- node_def {
- name: "mul_1"
- op: "Mul"
- input: "Sigmoid:y:0"
- input: "Tanh:y:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "mul_1"
- }
- }
- node_def {
- name: "add_1"
- op: "AddV2"
- input: "mul:z:0"
- input: "mul_1:z:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "add_1"
- }
- }
- node_def {
- name: "Sigmoid_2"
- op: "Sigmoid"
- input: "split:output:3"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Sigmoid_2"
- }
- }
- node_def {
- name: "Tanh_1"
- op: "Tanh"
- input: "add_1:z:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Tanh_1"
- }
- }
- node_def {
- name: "mul_2"
- op: "Mul"
- input: "Sigmoid_2:y:0"
- input: "Tanh_1:y:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "mul_2"
- }
- }
- node_def {
- name: "TensorArrayV2_1/element_shape"
- op: "Const"
- 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"
- }
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayV2_1/element_shape"
- }
- }
- node_def {
- name: "TensorArrayV2_1"
- op: "TensorListReserve"
- input: "TensorArrayV2_1/element_shape:output:0"
- input: "strided_slice:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "shape_type"
- value {
- type: DT_INT32
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayV2_1"
- }
- }
- node_def {
- name: "time"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- }
- }
- experimental_debug_info {
- original_node_names: "time"
- }
- }
- node_def {
- name: "while/maximum_iterations"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: -1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "while/maximum_iterations"
- }
- }
- node_def {
- name: "while/loop_counter"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- }
- }
- experimental_debug_info {
- original_node_names: "while/loop_counter"
- }
- }
- node_def {
- name: "while"
- op: "StatelessWhile"
- input: "while/loop_counter:output:0"
- input: "while/maximum_iterations:output:0"
- input: "time:output:0"
- input: "TensorArrayV2_1:handle:0"
- input: "init_h"
- input: "init_c"
- input: "strided_slice:output:0"
- input: "TensorArrayUnstack/TensorListFromTensor:output_handle:0"
- input: "kernel"
- input: "recurrent_kernel"
- input: "bias"
- attr {
- key: "T"
- value {
- list {
- type: DT_INT32
- type: DT_INT32
- type: DT_INT32
- type: DT_VARIANT
- type: DT_FLOAT
- type: DT_FLOAT
- type: DT_INT32
- type: DT_VARIANT
- type: DT_FLOAT
- type: DT_FLOAT
- type: DT_FLOAT
- }
- }
- }
- attr {
- key: "_lower_using_switch_merge"
- value {
- b: true
- }
- }
- attr {
- key: "_num_original_outputs"
- value {
- i: 11
- }
- }
- attr {
- key: "_read_only_resource_inputs"
- value {
- list {
- }
- }
- }
- attr {
- key: "body"
- value {
- func {
- name: "while_body_32889"
- }
- }
- }
- attr {
- key: "cond"
- value {
- func {
- name: "while_cond_32888"
- }
- }
- }
- attr {
- key: "output_shapes"
- value {
- list {
- shape {
- }
- shape {
- }
- shape {
- }
- shape {
- }
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- shape {
- }
- shape {
- }
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- shape {
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "parallel_iterations"
- value {
- i: 32
- }
- }
- experimental_debug_info {
- original_node_names: "while"
- }
- }
- node_def {
- name: "TensorArrayV2Stack/TensorListStack/element_shape"
- op: "Const"
- 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"
- }
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayV2Stack/TensorListStack/element_shape"
- }
- }
- node_def {
- name: "TensorArrayV2Stack/TensorListStack"
- op: "TensorListStack"
- input: "while:output:3"
- input: "TensorArrayV2Stack/TensorListStack/element_shape:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "num_elements"
- value {
- i: -1
- }
- }
- experimental_debug_info {
- original_node_names: "TensorArrayV2Stack/TensorListStack"
- }
- }
- node_def {
- name: "strided_slice_2/stack"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: -1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_2/stack"
- }
- }
- node_def {
- name: "strided_slice_2/stack_1"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 0
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_2/stack_1"
- }
- }
- node_def {
- name: "strided_slice_2/stack_2"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_2/stack_2"
- }
- }
- node_def {
- name: "strided_slice_2"
- op: "StridedSlice"
- input: "TensorArrayV2Stack/TensorListStack:tensor:0"
- input: "strided_slice_2/stack:output:0"
- input: "strided_slice_2/stack_1:output:0"
- input: "strided_slice_2/stack_2:output:0"
- attr {
- key: "Index"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- 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
- }
- }
- experimental_debug_info {
- original_node_names: "strided_slice_2"
- }
- }
- node_def {
- name: "transpose_1/perm"
- op: "Const"
- 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\000\000\000\000\002\000\000\000"
- }
- }
- }
- experimental_debug_info {
- original_node_names: "transpose_1/perm"
- }
- }
- node_def {
- name: "transpose_1"
- op: "Transpose"
- input: "TensorArrayV2Stack/TensorListStack:tensor:0"
- input: "transpose_1/perm:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "Tperm"
- value {
- type: DT_INT32
- }
- }
- experimental_debug_info {
- original_node_names: "transpose_1"
- }
- }
- node_def {
- name: "runtime"
- op: "Const"
- device: "/device:CPU:0"
- attr {
- key: "dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_FLOAT
- tensor_shape {
- }
- float_val: 1
- }
- }
- }
- experimental_debug_info {
- original_node_names: "runtime"
- }
- }
- node_def {
- name: "Identity"
- op: "Identity"
- input: "strided_slice_2:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Identity"
- }
- }
- node_def {
- name: "Identity_1"
- op: "Identity"
- input: "transpose_1:y:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Identity_1"
- }
- }
- node_def {
- name: "Identity_2"
- op: "Identity"
- input: "while:output:4"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Identity_2"
- }
- }
- node_def {
- name: "Identity_3"
- op: "Identity"
- input: "while:output:5"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Identity_3"
- }
- }
- node_def {
- name: "Identity_4"
- op: "Identity"
- input: "runtime:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- experimental_debug_info {
- original_node_names: "Identity_4"
- }
- }
- ret {
- key: "identity"
- value: "Identity:output:0"
- }
- ret {
- key: "identity_1"
- value: "Identity_1:output:0"
- }
- ret {
- key: "identity_2"
- value: "Identity_2:output:0"
- }
- ret {
- key: "identity_3"
- value: "Identity_3:output:0"
- }
- ret {
- key: "identity_4"
- value: "Identity_4:output:0"
- }
- attr {
- key: "api_implements"
- value {
- s: "lstm_b60126f2-58d5-40e1-8e60-6cd6f0b41676"
- }
- }
- attr {
- key: "api_preferred_device"
- value {
- s: "CPU"
- }
- }
- attr {
- key: "go_backwards"
- value {
- b: false
- }
- }
- attr {
- key: "time_major"
- value {
- b: false
- }
- }
- arg_attr {
- key: 0
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1
- }
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "inputs"
- }
- }
- }
- }
- arg_attr {
- key: 1
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "init_h"
- }
- }
- }
- }
- arg_attr {
- key: 2
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "init_c"
- }
- }
- }
- }
- arg_attr {
- key: 3
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "kernel"
- }
- }
- }
- }
- arg_attr {
- key: 4
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "recurrent_kernel"
- }
- }
- }
- }
- arg_attr {
- key: 5
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "bias"
- }
- }
- }
- }
- and current definition: signature {
- name: "__inference_standard_lstm_32975"
- input_arg {
- name: "inputs"
- type: DT_FLOAT
- }
- input_arg {
- name: "init_h"
- type: DT_FLOAT
- }
- input_arg {
- name: "init_c"
- type: DT_FLOAT
- }
- input_arg {
- name: "kernel"
- type: DT_FLOAT
- }
- input_arg {
- name: "recurrent_kernel"
- type: DT_FLOAT
- }
- input_arg {
- name: "bias"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_1"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_2"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_3"
- type: DT_FLOAT
- }
- output_arg {
- name: "identity_4"
- type: DT_FLOAT
- }
- }
- node_def {
- name: "transpose/perm"
- op: "Const"
- 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\000\000\000\000\002\000\000\000"
- }
- }
- }
- }
- node_def {
- name: "Shape"
- op: "Const"
- 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\001\000\000\000@\001\000\000"
- }
- }
- }
- }
- node_def {
- name: "strided_slice/stack"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 0
- }
- }
- }
- }
- node_def {
- name: "strided_slice/stack_1"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- }
- node_def {
- name: "strided_slice/stack_2"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- }
- node_def {
- name: "TensorArrayV2/element_shape"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: -1
- }
- }
- }
- }
- node_def {
- name: "TensorArrayUnstack/TensorListFromTensor/element_shape"
- op: "Const"
- 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"
- }
- }
- }
- }
- node_def {
- name: "strided_slice_1/stack"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 0
- }
- }
- }
- }
- node_def {
- name: "strided_slice_1/stack_1"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- }
- node_def {
- name: "strided_slice_1/stack_2"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- }
- node_def {
- name: "Const"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 4
- }
- }
- }
- }
- node_def {
- name: "split/split_dim"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 1
- }
- }
- }
- }
- node_def {
- name: "TensorArrayV2_1/element_shape"
- op: "Const"
- 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"
- }
- }
- }
- }
- node_def {
- name: "time"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- }
- }
- }
- node_def {
- name: "while/maximum_iterations"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: -1
- }
- }
- }
- }
- node_def {
- name: "while/loop_counter"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- }
- }
- }
- node_def {
- name: "TensorArrayV2Stack/TensorListStack/element_shape"
- op: "Const"
- 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"
- }
- }
- }
- }
- node_def {
- name: "strided_slice_2/stack"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: -1
- }
- }
- }
- }
- node_def {
- name: "strided_slice_2/stack_1"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 0
- }
- }
- }
- }
- node_def {
- name: "strided_slice_2/stack_2"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- dim {
- size: 1
- }
- }
- int_val: 1
- }
- }
- }
- }
- node_def {
- name: "transpose_1/perm"
- op: "Const"
- 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\000\000\000\000\002\000\000\000"
- }
- }
- }
- }
- node_def {
- name: "runtime"
- op: "Const"
- device: "/device:CPU:0"
- attr {
- key: "dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_FLOAT
- tensor_shape {
- }
- float_val: 1
- }
- }
- }
- }
- node_def {
- name: "MatMul_1"
- op: "MatMul"
- input: "init_h"
- input: "recurrent_kernel"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "transpose_a"
- value {
- b: false
- }
- }
- attr {
- key: "transpose_b"
- value {
- b: false
- }
- }
- }
- node_def {
- name: "transpose"
- op: "Transpose"
- input: "inputs"
- input: "transpose/perm:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "Tperm"
- value {
- type: DT_INT32
- }
- }
- }
- node_def {
- name: "strided_slice"
- op: "StridedSlice"
- input: "Shape:output:0"
- input: "strided_slice/stack:output:0"
- input: "strided_slice/stack_1:output:0"
- input: "strided_slice/stack_2:output:0"
- attr {
- key: "Index"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "T"
- value {
- type: DT_INT32
- }
- }
- 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_def {
- name: "Identity_4"
- op: "Identity"
- input: "runtime:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "TensorArrayUnstack/TensorListFromTensor"
- op: "TensorListFromTensor"
- input: "transpose:y:0"
- input: "TensorArrayUnstack/TensorListFromTensor/element_shape:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "shape_type"
- value {
- type: DT_INT32
- }
- }
- }
- node_def {
- name: "strided_slice_1"
- op: "StridedSlice"
- input: "transpose:y:0"
- input: "strided_slice_1/stack:output:0"
- input: "strided_slice_1/stack_1:output:0"
- input: "strided_slice_1/stack_2:output:0"
- attr {
- key: "Index"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- 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_def {
- name: "TensorArrayV2"
- op: "TensorListReserve"
- input: "TensorArrayV2/element_shape:output:0"
- input: "strided_slice:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "shape_type"
- value {
- type: DT_INT32
- }
- }
- }
- node_def {
- name: "TensorArrayV2_1"
- op: "TensorListReserve"
- input: "TensorArrayV2_1/element_shape:output:0"
- input: "strided_slice:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "shape_type"
- value {
- type: DT_INT32
- }
- }
- }
- node_def {
- name: "MatMul"
- op: "MatMul"
- input: "strided_slice_1:output:0"
- input: "kernel"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "transpose_a"
- value {
- b: false
- }
- }
- attr {
- key: "transpose_b"
- value {
- b: false
- }
- }
- }
- node_def {
- name: "while"
- op: "StatelessWhile"
- input: "while/loop_counter:output:0"
- input: "while/maximum_iterations:output:0"
- input: "time:output:0"
- input: "TensorArrayV2_1:handle:0"
- input: "init_h"
- input: "init_c"
- input: "strided_slice:output:0"
- input: "TensorArrayUnstack/TensorListFromTensor:output_handle:0"
- input: "kernel"
- input: "recurrent_kernel"
- input: "bias"
- attr {
- key: "T"
- value {
- list {
- type: DT_INT32
- type: DT_INT32
- type: DT_INT32
- type: DT_VARIANT
- type: DT_FLOAT
- type: DT_FLOAT
- type: DT_INT32
- type: DT_VARIANT
- type: DT_FLOAT
- type: DT_FLOAT
- type: DT_FLOAT
- }
- }
- }
- attr {
- key: "_lower_using_switch_merge"
- value {
- b: false
- }
- }
- attr {
- key: "_num_original_outputs"
- value {
- i: 11
- }
- }
- attr {
- key: "_read_only_resource_inputs"
- value {
- list {
- }
- }
- }
- attr {
- key: "body"
- value {
- func {
- name: "while_body_32889"
- }
- }
- }
- attr {
- key: "cond"
- value {
- func {
- name: "while_cond_32888"
- }
- }
- }
- attr {
- key: "output_shapes"
- value {
- list {
- shape {
- }
- shape {
- }
- shape {
- }
- shape {
- }
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- shape {
- }
- shape {
- }
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- shape {
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "parallel_iterations"
- value {
- i: 32
- }
- }
- }
- node_def {
- name: "add"
- op: "AddV2"
- input: "MatMul:product:0"
- input: "MatMul_1:product:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "TensorArrayV2Stack/TensorListStack"
- op: "TensorListStack"
- input: "while:output:3"
- input: "TensorArrayV2Stack/TensorListStack/element_shape:output:0"
- attr {
- key: "element_dtype"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "num_elements"
- value {
- i: -1
- }
- }
- }
- node_def {
- name: "Identity_2"
- op: "Identity"
- input: "while:output:4"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "Identity_3"
- op: "Identity"
- input: "while:output:5"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "BiasAdd"
- op: "BiasAdd"
- input: "add:z:0"
- input: "bias"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "data_format"
- value {
- s: "NHWC"
- }
- }
- }
- node_def {
- name: "strided_slice_2"
- op: "StridedSlice"
- input: "TensorArrayV2Stack/TensorListStack:tensor:0"
- input: "strided_slice_2/stack:output:0"
- input: "strided_slice_2/stack_1:output:0"
- input: "strided_slice_2/stack_2:output:0"
- attr {
- key: "Index"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- 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_def {
- name: "transpose_1"
- op: "Transpose"
- input: "TensorArrayV2Stack/TensorListStack:tensor:0"
- input: "transpose_1/perm:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "Tperm"
- value {
- type: DT_INT32
- }
- }
- }
- node_def {
- name: "split"
- op: "Split"
- input: "split/split_dim:output:0"
- input: "BiasAdd:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- attr {
- key: "num_split"
- value {
- i: 4
- }
- }
- }
- node_def {
- name: "Identity"
- op: "Identity"
- input: "strided_slice_2:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "Identity_1"
- op: "Identity"
- input: "transpose_1:y:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "Sigmoid"
- op: "Sigmoid"
- input: "split:output:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "Sigmoid_1"
- op: "Sigmoid"
- input: "split:output:1"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "Tanh"
- op: "Tanh"
- input: "split:output:2"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "Sigmoid_2"
- op: "Sigmoid"
- input: "split:output:3"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "mul"
- op: "Mul"
- input: "Sigmoid_1:y:0"
- input: "init_c"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "mul_1"
- op: "Mul"
- input: "Sigmoid:y:0"
- input: "Tanh:y:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "add_1"
- op: "AddV2"
- input: "mul:z:0"
- input: "mul_1:z:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "Tanh_1"
- op: "Tanh"
- input: "add_1:z:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- node_def {
- name: "mul_2"
- op: "Mul"
- input: "Sigmoid_2:y:0"
- input: "Tanh_1:y:0"
- attr {
- key: "T"
- value {
- type: DT_FLOAT
- }
- }
- }
- ret {
- key: "identity"
- value: "Identity:output:0"
- }
- ret {
- key: "identity_1"
- value: "Identity_1:output:0"
- }
- ret {
- key: "identity_2"
- value: "Identity_2:output:0"
- }
- ret {
- key: "identity_3"
- value: "Identity_3:output:0"
- }
- ret {
- key: "identity_4"
- value: "Identity_4:output:0"
- }
- attr {
- key: "api_preferred_device"
- value {
- s: "CPU"
- }
- }
- attr {
- key: "go_backwards"
- value {
- b: false
- }
- }
- attr {
- key: "time_major"
- value {
- b: false
- }
- }
- arg_attr {
- key: 0
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1
- }
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "inputs"
- }
- }
- }
- }
- arg_attr {
- key: 1
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "init_h"
- }
- }
- }
- }
- arg_attr {
- key: 2
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1
- }
- dim {
- size: 320
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "init_c"
- }
- }
- }
- }
- arg_attr {
- key: 3
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "kernel"
- }
- }
- }
- }
- arg_attr {
- key: 4
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 320
- }
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "recurrent_kernel"
- }
- }
- }
- }
- arg_attr {
- key: 5
- value {
- attr {
- key: "_output_shapes"
- value {
- list {
- shape {
- dim {
- size: 1280
- }
- }
- }
- }
- }
- attr {
- key: "_user_specified_name"
- value {
- s: "bias"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement