示例#1
0
 def __init__(self, name, type_):
     """__init__()"""  # hide the signature from Sphinx
     Type.__init__(self,
                   type_.dtype,
                   shape=type_.shape,
                   strides=type_.strides)
     self.name = name
示例#2
0
    def __init__(self, computation, name, type_):
        """__init__()""" # hide the signature from Sphinx

        Type.__init__(
            self, type_.dtype, shape=type_.shape, strides=type_.strides, offset=type_.offset)
        self._computation = weakref.ref(computation)
        self._name = name
示例#3
0
 def __init__(self, trf, name, type_):
     Type.__init__(self,
                   type_.dtype,
                   shape=type_.shape,
                   strides=type_.strides,
                   offset=type_.offset)
     self._trf = weakref.ref(trf)
     self._name = name
示例#4
0
    def __init__(self, computation, name, type_):
        """__init__()"""  # hide the signature from Sphinx

        Type.__init__(self,
                      type_.dtype,
                      shape=type_.shape,
                      strides=type_.strides)
        self._computation = weakref.ref(computation)
        self._name = name
示例#5
0
 def __init__(self, name, type_):
     """__init__()""" # hide the signature from Sphinx
     Type.__init__(self, type_.dtype, shape=type_.shape, strides=type_.strides)
     self.name = name
示例#6
0
 def __init__(self, trf, name, type_):
     Type.__init__(
         self, type_.dtype, shape=type_.shape, strides=type_.strides, offset=type_.offset)
     self._trf = weakref.ref(trf)
     self._name = name