什么是.pb tensoflow模型中的占位符类型?

2024-06-10 16:00:01 发布

您现在位置:Python中文网/ 问答频道 /正文

什么是Placeholdertype in.pb tensoflow模型?如何将其转换为“正常”输入张量?你知道吗

使用inspect_pb.py

0: op name = import/image_tensor, op type = ( Placeholder ), inputs = , outputs = import/image_tensor:0
@input shapes:
@output shapes:
name = import/image_tensor:0 : <unknown>

使用netron tool查看.pb图形。你知道吗

带有占位符输入的模型: enter image description here

具有“正常”输入的模型: enter image description here


Tags: nameinpy模型imageimporttypeplaceholder