MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / WrappedDatasetVariantDeviceCopy

Function WrappedDatasetVariantDeviceCopy

tensorflow/core/framework/dataset.cc:177–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 UnwrapDatasetVariantOp);
176
177static 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( \

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected