Torch.Internal.Managed.Type.StdOptional
stdOptionalTensor_create :: ForeignPtr Tensor -> IO (ForeignPtr (StdOptional Tensor)) Source #
stdOptionalTensor_empty :: IO (ForeignPtr (StdOptional Tensor)) Source #
stdOptionalTensor_has_value :: ForeignPtr (StdOptional Tensor) -> IO CBool Source #
stdOptionalTensor_value :: ForeignPtr (StdOptional Tensor) -> IO (ForeignPtr Tensor) Source #