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

Method Clamp

tensorflow/compiler/xla/client/xla_builder.cc:1654–1656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1652}
1653
1654XlaOp XlaBuilder::Clamp(XlaOp min, XlaOp operand, XlaOp max) {
1655 return TernaryOp(HloOpcode::kClamp, min, operand, max);
1656}
1657
1658XlaOp XlaBuilder::Map(absl::Span<const XlaOp> operands,
1659 const XlaComputation& computation,

Callers 3

ClampFunction · 0.45
testClampF32Method · 0.45
testClampS32Method · 0.45

Calls

no outgoing calls

Tested by 2

testClampF32Method · 0.36
testClampS32Method · 0.36