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

Method ConfigureWorkspace

tensorflow/core/kernels/mkl_lrn_op.cc:496–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494 }
495
496 void ConfigureWorkspace(const Tensor& workspace_tensor,
497 MEMORY_PRIMITIVE_DESC workspace_pd,
498 MklDnnData<uint8>* workspace_dnn_data) {
499 DCHECK(workspace_dnn_data);
500
501 workspace_dnn_data->SetUsrMem(workspace_pd, &workspace_tensor);
502 }
503
504 // Fallback implementation - Taken from lrn_op.cc
505 // TODO(intel-tf) Check if we can use EigenLRNOp directly

Callers

nothing calls this directly

Calls 1

SetUsrMemMethod · 0.80

Tested by

no test coverage detected