Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ set_lod_data
Method
set_lod_data
test/sequence/test_sequence_pool.py:69–71 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
67
return
[[11]]
68
69
def
set_lod_data(self):
70
x = np.random.uniform(0.1, 1, [11, 23]).astype(
'float32'
)
71
return
x
72
73
def
set_data(self):
74
x = self.set_lod_data()
Callers
1
set_data
Method · 0.95
Calls
2
astype
Method · 0.80
uniform
Method · 0.80
Tested by
no test coverage detected