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

Method Update2

tensorflow/core/kernels/range_sampler_test.cc:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 sampler_->Update(a);
67 }
68 void Update2() {
69 // Add the value n times.
70 int64 a[10];
71 for (int i = 0; i < 10; i++) {
72 a[i] = i;
73 }
74 for (int64 i = 1; i < 10; i++) {
75 sampler_->Update(ArraySlice<int64>(a + i, 10 - i));
76 }
77 }
78 std::unique_ptr<RangeSampler> sampler_;
79};
80

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.45

Tested by

no test coverage detected