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

Function Cast

tensorflow/core/graph/testlib.cc:414–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414Node* Cast(Graph* g, Node* in, DataType dst) {
415 Node* ret;
416 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Cast")
417 .Input(in)
418 .Attr("DstT", dst)
419 .Finalize(g, &ret));
420 return ret;
421}
422
423Node* Gather(Graph* g, Node* in0, Node* in1, Node* axis) {
424 Node* ret;

Callers 15

LookupInternalMethod · 0.50
TEST_FFunction · 0.50
TESTFunction · 0.50
DynamicStitchGradFunction · 0.50
ConstHelperFunction · 0.50
GetBatchIndicesFunction · 0.50
GatherV2GradFunction · 0.50
TEST_FFunction · 0.50
SquareGradFunction · 0.50
Log1pGradFunction · 0.50
AtanhGradFunction · 0.50
SignGradFunction · 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