| 175 | UnwrapDatasetVariantOp); |
| 176 | |
| 177 | static Status WrappedDatasetVariantDeviceCopy( |
| 178 | const WrappedDatasetVariantWrapper& from, WrappedDatasetVariantWrapper* to, |
| 179 | const UnaryVariantOpRegistry::AsyncTensorDeviceCopyFn& copy) { |
| 180 | *to = WrappedDatasetVariantWrapper(from); |
| 181 | return Status::OK(); |
| 182 | } |
| 183 | |
| 184 | #define REGISTER_OPTIONAL_COPY(DIRECTION) \ |
| 185 | INTERNAL_REGISTER_UNARY_VARIANT_DEVICE_COPY_FUNCTION( \ |
nothing calls this directly
no test coverage detected