Returns: a new Tensor which does deep copy of this tensor
(self)
| 371 | raise ValueError("t should be Tensor or numpy array.") |
| 372 | |
| 373 | def clone(self): |
| 374 | ''' |
| 375 | Returns: |
| 376 | a new Tensor which does deep copy of this tensor |
| 377 | ''' |
| 378 | return _call_singa_func(self.data.Clone) |
| 379 | |
| 380 | def repeat(self, repeats, axis): |
| 381 | '''Repeat data of a tensor |
no test coverage detected