什么是 Placeholder tensor(占位符张量)?
What are placeholder tensors?
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: medium
标签: TF1, Placeholder, TF2
参考答案摘要
Placeholder 是 TF1 时代常见概念,用来定义 运行时再喂值 的输入。在 TF2 中,更多使用 Eager Execution + 函数入参,以及 tf.data 来构建输入管道,Placeholder 的使用场景大幅减少。
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。