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

Method VerifyResource

tensorflow/core/kernels/data/iterator_ops.cc:346–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346Status IteratorHandleOp::VerifyResource(IteratorResource* resource) {
347 TF_RETURN_IF_ERROR(
348 VerifyTypesMatch(output_dtypes_, resource->output_dtypes()));
349 TF_RETURN_IF_ERROR(
350 VerifyShapesCompatible(output_shapes_, resource->output_shapes()));
351 return Status::OK();
352}
353
354FunctionLibraryRuntime* IteratorHandleOp::CreatePrivateFLR(
355 OpKernelContext* ctx, std::unique_ptr<DeviceMgr>* device_mgr,

Callers

nothing calls this directly

Calls 4

VerifyTypesMatchFunction · 0.85
VerifyShapesCompatibleFunction · 0.85
output_dtypesMethod · 0.45
output_shapesMethod · 0.45

Tested by

no test coverage detected