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

Function JoinedCopies

tensorflow/core/ops/rnn_ops_test.cc:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace tensorflow {
25
26static string JoinedCopies(const string& s, int copies) {
27 string res;
28 for (int i = 0; i < copies; ++i) {
29 strings::StrAppend(&res, i > 0 ? ";" : "", s);
30 }
31 return res;
32}
33
34TEST(RnnOpsTest, GRUBlockCell_ShapeFn) {
35 ShapeInferenceTestOp op("GRUBlockCell");

Callers 1

TESTFunction · 0.85

Calls 1

StrAppendFunction · 0.50

Tested by

no test coverage detected