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

Method MakeLhsRhs

tensorflow/lite/experimental/ruy/test.h:1520–1527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1518
1519template <typename LhsScalar, typename RhsScalar, typename SpecType>
1520void TestSet<LhsScalar, RhsScalar, SpecType>::MakeLhsRhs() {
1521 RUY_CHECK(life_stage == LifeStage::kHasZeroPoints);
1522 MakeRandom(rows, depth, lhs_order, lhs_zero_point, layout_style,
1523 RandomRange::kAvoidMinValue, &lhs);
1524 MakeRandom(depth, cols, rhs_order, rhs_zero_point, layout_style,
1525 RandomRange::kGeneral, &rhs);
1526 life_stage = LifeStage::kHasLhsRhs;
1527}
1528
1529template <typename LhsScalar, typename RhsScalar, typename SpecType>
1530void TestSet<LhsScalar, RhsScalar, SpecType>::MakeSpec() {

Callers

nothing calls this directly

Calls 1

MakeRandomFunction · 0.85

Tested by

no test coverage detected