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

Function IsGpuCompatibleConv2D

tensorflow/core/grappler/optimizers/remapper.cc:306–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306bool IsGpuCompatibleConv2D(const RemapperContext& ctx, const NodeDef* conv2d) {
307 DCHECK(IsConv2D(*conv2d)) << "Expected Conv2D op";
308 return NodeIsOnGpu(conv2d) && IsGpuCompatibleDataType(conv2d) &&
309 IsGpuCompatibleDataFormat(ctx, conv2d);
310}
311
312bool IsGpuCompatibleMatMul(const RemapperContext& ctx,
313 const NodeDef* matmul) {

Callers 1

IsGpuCompatibleFunction · 0.85

Calls 4

IsConv2DFunction · 0.85
NodeIsOnGpuFunction · 0.85
IsGpuCompatibleDataTypeFunction · 0.85

Tested by

no test coverage detected