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

Function One

tensorflow/compiler/xla/client/lib/constants.cc:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40XlaOp One(XlaBuilder* builder, PrimitiveType type) {
41 return ConstantLiteral(builder, LiteralUtil::One(type));
42}
43
44XlaOp Epsilon(XlaBuilder* builder, PrimitiveType type) {
45 switch (type) {

Callers 15

ForEachIndexFunction · 0.70
XLA_TEST_FFunction · 0.70
BuildFakeDataOpOnDeviceFunction · 0.70
OneMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
BilinearWeightsFunction · 0.50
CalculateGradWarpFunction · 0.50
CompileMethod · 0.50

Calls 1

ConstantLiteralFunction · 0.85

Tested by 5

XLA_TEST_FFunction · 0.56
BuildFakeDataOpOnDeviceFunction · 0.56
TESTFunction · 0.40
XLA_TEST_PFunction · 0.40