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

Method valid

tensorflow/compiler/xrt/client/xrt_tf_client.h:254–254  ·  view source on GitHub ↗

Returns true if the handle refers to valid context.

Source from the content-addressed store, hash-verified

252
253 // Returns true if the handle refers to valid context.
254 bool valid() const { return context_ != nullptr; }
255
256 private:
257 friend class XrtTfContext;

Callers 2

ToLiteralMethod · 0.45
DeleteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected