Skip to content

Commit 3a7007f

Browse files
authored
Update randomizeop.py
1 parent 2951c89 commit 3a7007f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kaleidoscope/operators/randomizeop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ def run(self, source: Dataset) -> Dataset: # noqa: D102
148148
],
149149
dtype=z.dtype,
150150
)
151-
target[v].attrs["kaleidoscope_entropy"] = np.array(
152-
self.entropy(v, source_id)
151+
target[v].attrs["entropy"] = np.array(
152+
self.entropy(v, source_id), dtype=np.int64
153153
)
154154
get_logger().info(f"finished graph for variable: {v}")
155155
return target

0 commit comments

Comments
 (0)