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

Function Uint128ToOp

tensorflow/compiler/xla/client/lib/prng.cc:285–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285XlaOp Uint128ToOp(std::array<XlaOp, 2> u128) {
286 return ConcatScalars(u128[0].builder(), {u128[0], u128[1]});
287}
288
289// Returns the pair (state + [0, 1, ..., n-1], state + n), which should be used
290// as the inputs fed to `Philox4x32` and the updated state. `state` is an U128

Callers 2

ScramblePhiloxKeyFunction · 0.85

Calls 2

ConcatScalarsFunction · 0.85
builderMethod · 0.45

Tested by

no test coverage detected