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

Method CheckDeviceNameIndex

tensorflow/core/graph/graph.h:721–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719 const FunctionLibraryDefinition& flib_def() const { return ops_; }
720
721 void CheckDeviceNameIndex(int index) {
722 DCHECK_GE(index, 0);
723 DCHECK_LT(index, static_cast<int>(device_names_.size()));
724 }
725
726 int InternDeviceName(const string& device_name);
727

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected