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

Function Error

tensorflow/core/graph/testlib.cc:274–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274Node* Error(Graph* g, Node* input, const string& errmsg, bool log_error) {
275 Node* ret;
276 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Error")
277 .Input(input)
278 .Attr("message", errmsg)
279 .Attr("log_error", log_error)
280 .Finalize(g, &ret));
281 return ret;
282}
283
284Node* InvalidRefType(Graph* g, DataType out_type, DataType invalid_type) {
285 DCHECK(out_type != invalid_type);

Callers 15

TokenErrorMethod · 0.50
FindInstructionMethod · 0.50
ParseComputationMethod · 0.50
ParseInstructionMethod · 0.50
ParseInstructionRhsMethod · 0.50
ParseSingleShardingMethod · 0.50
ParseInstructionNamesMethod · 0.50
ParseDenseLiteralMethod · 0.50
ParseOperandsMethod · 0.50
ParseSubAttributesMethod · 0.50

Calls 5

NodeBuilderClass · 0.70
FinalizeMethod · 0.45
AttrMethod · 0.45
InputMethod · 0.45
NewNameMethod · 0.45

Tested by

no test coverage detected