numpy=
array([[2.],
[5.]], dtype=float32)>
最重要的,所有张量运算都可以执行:
>>> t + 10
shape...0, 1, 0, 1], [1, 1, 0, 1, 0, 1, 0, 1])
shape=(), dtype=float32, numpy=0.8>
>>>...precision([0, 1, 0, 0, 1, 0, 1, 1], [1, 0, 1, 1, 0, 0, 0, 0])
shape=(), dtype...任何时候,可以调用result()方法获取指标的当前值。..., shape=(), dtype=float32, numpy=0.5>
>>> p.variables
[0' [...] numpy=array