Ejemplo n.º 1
0
 public virtual void WaiveOwnership(Tensor tensor)
 {
     tensor.Unpin();
     m_AllocatedTensors.Remove(tensor);
     m_AllocatedBuffers.Remove(tensor.tensorOnDevice);
 }