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

Function MakeArray

tensorflow/compiler/xla/service/hlo_sharding_test.cc:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace {
31
32Array<int64> MakeArray(absl::Span<const int64> dimensions,
33 absl::Span<const int64> contents) {
34 Array<int64> a(dimensions);
35 std::copy(contents.begin(), contents.end(), a.begin());
36 return a;
37}
38
39class HloShardingTest : public HloTestBase {};
40

Callers 1

TEST_FFunction · 0.85

Calls 3

copyFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected