Skip to content

tensorflow 🔗

Node 🔗

Node(name, node_id)

A representation of TensorFlow graph input or output node

Source code in vaccel/tensorflow.py
def __init__(self, name, node_id):
    self._name = bytes(name, "ascii")
    self._id = node_id
    self.__hidden__ = list()

Tensor 🔗

Tensor(dims, dtype: TensorType)

A representation of a Tensor

Source code in vaccel/tensorflow.py
def __init__(self, dims, dtype: TensorType):
    self._dims = dims
    self._data = []
    self._dtype = dtype
    self.__hidden__ = []