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

Function BM_TensorShape_Assign

tensorflow/core/framework/tensor_shape_test.cc:696–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694BENCHMARK(BM_TensorShape_Init)->Arg(0)->Arg(1)->Arg(2)->Arg(3)->Arg(4);
695
696static void BM_TensorShape_Assign(int iters, int arg) {
697 TensorShape s(MakeSizes(arg));
698 while (--iters > 0) {
699 TensorShape s2 = s;
700 }
701}
702BENCHMARK(BM_TensorShape_Assign)->Arg(0)->Arg(1)->Arg(2)->Arg(3)->Arg(4);
703
704} // namespace

Callers

nothing calls this directly

Calls 1

MakeSizesFunction · 0.85

Tested by

no test coverage detected