Handle optional tensors more consistently by adding a...
Handle optional tensors more consistently by adding a `XPtrTorchOptionalTensor` class that will convert NULL or lenght 0 R objects to `c10::nullopt`. When return OptionalTensors will be automatically converted to `NULL` if they don't have values.
Loading
Please sign in to comment