云竹文斋

关注

tf.eye

云竹文斋

关注

阅读 184

2023-01-16


tf.eye(2)

<tf.Tensor: shape=(2, 2), dtype=float32, numpy=
array([[1., 0.],
[0., 1.]], dtype=float32)>

tf.eye(2, batch_shape=[3])

<tf.Tensor: shape=(3, 2, 2), dtype=float32, numpy=
array([[[1., 0.],
[0., 1.]],

[[1., 0.],
[0., 1.]],

[[1., 0.],
[0., 1.]]], dtype=float32)>

tf.eye(2, num_columns=3)

<tf.Tensor: shape=(2, 3), dtype=float32, numpy=
array([[1., 0., 0.],
[0., 1., 0.]], dtype=float32)>


相关推荐

小猪肥

EV-Eye

小猪肥 46 0 0

yundejia

MATLAB中的eye() 函数 …

yundejia 95 0 0

晗韩不普通

JavaScript(07): 实例3---Google Eye

晗韩不普通 49 0 0

东林梁

菜鸟笔记-Python函数-zeros/identity/eye

东林梁 10 0 0

滚过红尘说红尘

python tf

滚过红尘说红尘 83 0 0

gy2006_sw

Android 轻量级输入校验库:Fire Eye

gy2006_sw 30 0 0

小龟老师

机器人手眼标定Ax=xB(eye to hand和eye in hand)及平面九点法标定

小龟老师 106 0 0

西风白羽

【机器人手眼标定AX=XB(eye to hand和eye in hand)及平面九点法标定】

西风白羽 102 0 0

杰克逊爱学习

tensorflow语法【zip、tf.tile、tf.truncated_normal、tf.data.Dataset.from

杰克逊爱学习 163 0 0

金刚豆

tf.reduce_mean与tf.reduce_min

金刚豆 60 0 0

精彩评论(0)

0 0 举报