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

Function ParseTensorName

tensorflow/core/graph/tensor_id.cc:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 : SafeTensorId(string(id.first), id.second) {}
29
30TensorId ParseTensorName(const string& name) {
31 return ParseTensorName(StringPiece(name.data(), name.size()));
32}
33
34TensorId ParseTensorName(StringPiece name) {
35 // Parse either a name, ^name, or name:digits. To do so, we go backwards from

Callers 15

ReplaceSendRecvsFunction · 0.85
RemoveUnusedNodesFunction · 0.85
FoldConstantsFunction · 0.85
ConvertMethod · 0.85
GraphdefToMlirImportFunction · 0.85
GetFeedsByNodeFunction · 0.85
GetInputOutputNodesMethod · 0.85
InferMainFunctionTypeMethod · 0.85
AddPlaceholdersForFeedsFunction · 0.85
PruneGraphDefIntoFunction · 0.85
GetNodesToModifyFunction · 0.85

Calls 3

StartsWithFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by 9

CompareNodeFaninsFunction · 0.68
CompareNodeFanoutsFunction · 0.68
TestRemoveAllFaninsFunction · 0.68
CompareGraphNodesFunction · 0.68
ParseHelperFunction · 0.68
BM_ParseTensorNameFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68