将乐成立的农机合作社免费为贫困户机收、烘干晚稻

paddle.incubate.asp. calculate_density ( x: npt.NDArray[Any] ) float [source]
百度 而且《头号玩家》让你再一次记住,不管你多努力耕耘,到了关机时刻......虚拟世界里面所有财富、成就、关系、名声,只要按下按钮,一切归零。

Return the density of the input tensor.

Parameters

x (nparray) – The input tensor.

Returns

float, The density of x.

Examples

>>> import paddle
>>> import numpy as np

>>> x = np.array([[0, 1, 3, 0],
...             [1, 1, 0, 1]])
>>> out = paddle.incubate.asp.calculate_density(x)
>>> print(out)
0.625