(self)
return desc
Returns description of the object as a dict. Transfers the
        tensors back to a numpy array.
Returns description of the object as a dict. Transfers the
        tensors back to a numpy array.
Returns description of the object as a dict . Transfers the tensors back to a numpy array .
def get_description(self):
        """
        Returns description of the object as a dict. Transfers the
        tensors back to a numpy array.
        """
        desc = super(Array, self).get_description()
        if isinstance(desc['config']['val'], Tensor):
            desc['config']['val'] = desc['config']['val'].get()
        return desc
def get_description ( self ) : desc = super ( Array , self ) . get_description ( ) if isinstance ( desc [ 'config' ] [ 'val' ] , Tensor ) : desc [ 'config' ] [ 'val' ] = desc [ 'config' ] [ 'val' ] . get ( ) return desc