How to know which tensor to choose from the list of tensor names in Graph?
问题 I am trying to export a Linear Classifier to a tflite format. That's why I need to select a tensor from the tensor list names in Graph. For example for exporting a DNN classifier model the following input and output tensor were chosen: input_tensor = sess.graph.get_tensor_by_name("dnn/input_from_feature_columns/input_layer/concat:0") input_tensor.set_shape([1, 4]) out_tensor = sess.graph.get_tensor_by_name("dnn/logits/BiasAdd:0") out_tensor.set_shape([1, 3]) but for a Linear Classifier I don