MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / __init__

Method __init__

python/oneflow/nn/graph/proxy.py:61–69  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

59
60class 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 """

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected