An ecution proxy of nn.Module or Tensor. A proxy contains the original data(nn.Module or Tensor) and a graph representation of the original data.
(self)
| 59 | |
| 60 | class Proxy(object): |
| 61 | def __init__(self): |
| 62 | """ An ecution proxy of nn.Module or Tensor. |
| 63 | |
| 64 | A proxy contains the original data(nn.Module or Tensor) and a graph representation of the original data. |
| 65 | """ |
| 66 | # The original data |
| 67 | self._oneflow_internal_origin__ = None |
| 68 | # The graph representation of the original data |
| 69 | self._oneflow_internal_graphblock__ = None |
| 70 | |
| 71 | def to(self, *args, **kwargs): |
| 72 | """ |