| 1916 | } |
| 1917 | |
| 1918 | Status 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 | |
| 1928 | XlaOp XlaBuilder::Reduce(XlaOp operand, XlaOp init_value, |
| 1929 | const XlaComputation& computation, |
nothing calls this directly
no test coverage detected