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

Function Clamp

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

Source from the content-addressed store, hash-verified

3501}
3502
3503XlaOp Clamp(const XlaOp min, const XlaOp operand, const XlaOp max) {
3504 return min.builder()->Clamp(min, operand, max);
3505}
3506
3507XlaOp Map(XlaBuilder* builder, absl::Span<const XlaOp> operands,
3508 const XlaComputation& computation, absl::Span<const int64> dimensions,

Callers 15

Relu6Function · 0.50
CompileMethod · 0.50
QuantizeFunction · 0.50
CompileMethod · 0.50
CompileFtrlFunction · 0.50
HSVToRGBFunction · 0.50
CompileMethod · 0.50
HandleMaximumMethod · 0.50
HandleClampMethod · 0.50
TEST_FFunction · 0.50

Calls 2

ClampMethod · 0.45
builderMethod · 0.45

Tested by 4

TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40