full_model = tf.function(lambda x: model(x))
full_model = full_model.get_concrete_function(x=(tf.TensorSpec(model.inputs[0].shape, model.inputs[0].dtype), tf.TensorSpec(model.inputs[1].shape, model.inputs[1].dtype), tf.TensorSpec(model.inputs[2].shape, model.inputs[2].dtype)))
# Get frozen ConcreteFunction
# https://github.com/tensorflow/tensorflow/issues/36391#issuecomment-596055100
frozen_func = convert_variables_to_constants_v2(full_model, lower_control_flow=False)
frozen_func.graph.as_graph_def()
I want to change the inputs and outputs name in
frozen_func, can u please tell how to solve it?