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

Method CheckOpBuilder

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

Source from the content-addressed store, hash-verified

1916}
1917
1918Status XlaBuilder::CheckOpBuilder(XlaOp op) const {
1919 if (this != op.builder()) {
1920 return InvalidArgument(
1921 "XlaOp with handle %d is built by builder '%s', but is trying to use "
1922 "it in builder '%s'",
1923 op.handle(), op.builder()->name(), name());
1924 }
1925 return Status::OK();
1926}
1927
1928XlaOp XlaBuilder::Reduce(XlaOp operand, XlaOp init_value,
1929 const XlaComputation& computation,

Callers

nothing calls this directly

Calls 5

InvalidArgumentFunction · 0.85
nameFunction · 0.85
nameMethod · 0.65
builderMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected