Commit 4daded49 authored by payno's avatar payno
Browse files

[Experiment][fix] nslices should use data_flatten and not data

parent 1d9b1167
Pipeline #6693 passed with stage
in 2 minutes and 25 seconds
......@@ -316,11 +316,11 @@ class Experiment(object):
def nslices(self):
if is None:
if self.data_flatten is None:
return 0
assert is 3
assert self.data_flatten.ndim is 3
return self.data_flatten.shape[0]
def set_dims(self, dims):
assert isinstance(dims, dict)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment