public virtual void WaiveOwnership(Tensor tensor)
 {
     tensor.DetachFromDevice();
     m_AllocatedTensors.Remove(tensor);
     m_AllocatedBuffers.Remove(tensor.tensorOnDevice);
 }
예제 #2
0
 public static ITensorData Unpin(this Tensor self, bool disposeUnpinned = true)
 {
     return(self.DetachFromDevice(disposeUnpinned));
 }