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

Function ToExecutorStatus

tensorflow/core/kernels/cudnn_rnn_ops.cc:334–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334inline se::port::Status ToExecutorStatus(const Status& s) {
335 return s.ok() ? se::port::Status::OK()
336 : se::port::Status(static_cast<se::port::error::Code>(
337 static_cast<int>(s.code())),
338 s.error_message());
339}
340
341template <typename>
342struct ToTFDataType;

Callers 3

AllocateBytesMethod · 0.85
AllocateBytesMethod · 0.85
AllocateBytesMethod · 0.85

Calls 3

StatusClass · 0.70
okMethod · 0.45
codeMethod · 0.45

Tested by

no test coverage detected