Empty the Table
Recursively flatten the table to a single table containing no nested table inside
Recursively flatten the table to a single table containing no nested table inside
the flatten table
Recursively inverse flatten the flatten table to the same shape with target
Recursively inverse flatten the flatten table to the same shape with target
the target shape to become
the inverse flatten the table with the same shape with target
Return true because it's a Table implemented from Activity
Return false because it's not a Tensor
Return the elements of this table as a Seq.
Return the elements of this table as a Seq. This method assumes the key of this table are all the integers between 1 to this.length(), the values are all Tensor[T]
Simulate the Table data structure in lua