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

Function MakeFakeArguments

tensorflow/compiler/xla/tests/test_utils.cc:672–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672StatusOr<std::vector<Literal>> MakeFakeArguments(HloModule* const module,
673 bool pseudo_random,
674 bool use_large_range) {
675 auto engine =
676 pseudo_random ? absl::make_unique<std::minstd_rand0>() : nullptr;
677 return MakeFakeArguments(module, engine.get(), use_large_range);
678}
679
680StatusOr<std::vector<Literal>> MakeFakeArguments(HloModule* const module,
681 std::minstd_rand0* engine,

Callers 8

RunAndCompareFunction · 0.85
TEST_PFunction · 0.85
TEST_FFunction · 0.85
RunAndCompareMethod · 0.85
RunMethod · 0.85
RunMultipleTimesMethod · 0.85
XLA_TEST_FFunction · 0.85

Calls 4

MakeConstrainedArgumentFunction · 0.85
entry_computationMethod · 0.80
getMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected