我训练了一个张量流估计器,并使用函数estimator.export_savedmodel将其导出到服务中。
模型另存为save_model.pd和变量。
输入功能为
{'input1': <tf.Tensor 'Placeholder_2_1:0' shape=(?, 60) dtype=int32>,
'input2': <tf.Tensor 'Placeholder_4:0' shape=(?, 60) dtype=float>}
但是我想将input2的数据类型(dtype)更改为int32。有办法吗?
谢谢。