2026年深度学习框架TensorFlow实战应用题集.docxVIP

  • 2
  • 0
  • 约6.77千字
  • 约 15页
  • 2026-10-12 发布于福建
  • 举报

2026年深度学习框架TensorFlow实战应用题集.docx

第PAGE页共NUMPAGES页

2026年深度学习框架TensorFlow实战应用题集

一、单选题(每题2分,共20题)

考察方向:TensorFlow基础操作与核心概念

1.在TensorFlow中,以下哪个函数用于创建一个可训练的变量?

A.`tf.constant()`

B.`tf.Variable()`

C.`tf.placeholder()`

D.`tf.Session()`

2.以下哪个是TensorFlow中用于计算梯度自动化的核心类?

A.`tf.Tensor`

B.`tf.Graph`

C.`tf.train.AdamOptimizer`

D.`tf.data.Dataset`

3.在TensorFlow中,如何正确地移动计算图到GPU设备?

A.使用`tf.device(/cpu:0)`

B.使用`tf.device(/gpu:0)`

C.通过`tf.config.set_visible_devices()`

D.以上都不对

4.以下哪个是TensorFlow中实现数据增强的常用层?

A.`tf.layers.Dense()`

B.`tf.layers.Conv2D()`

C.`tf.keras.layers.experimental.preprocessing.RandomFlip()`

D.`tf.la

文档评论(0)

1亿VIP精品文档

相关文档