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

Function CreatePersistentRnnPlan

tensorflow/stream_executor/cuda/cuda_dnn.cc:549–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547#endif
548
549port::StatusOr<PersistentRnnPlan> CreatePersistentRnnPlan(
550 cudnnRNNDescriptor_t rnn_desc, int batch_size, cudnnDataType_t data_type) {
551 cudnnPersistentRNNPlan_t result;
552 RETURN_IF_CUDNN_ERROR(
553 cudnnCreatePersistentRNNPlan(rnn_desc, batch_size, data_type, &result));
554 return port::StatusOr<PersistentRnnPlan>(PersistentRnnPlan(result));
555}
556
557// Turns a BatchDescriptor structure into a cudnn tensor handle within a
558// scope.

Callers 1

CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected