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

Method SetOutput

tensorflow/compiler/tf2xla/xla_op_kernel.cc:507–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507void XlaOpKernelContext::SetOutput(int index, const xla::XlaOp& handle) {
508 SetOutputExpression(
509 index,
510 XlaExpression::XlaOp(handle, context_->expected_output_dtype(index)));
511}
512
513void XlaOpKernelContext::SetConstantOutput(int index, const Tensor& constant) {
514 SetOutputExpression(index, XlaExpression::Constant(constant));

Callers 15

CompileFunctionalNodeMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45
CompileMethod · 0.45

Calls 2

XlaOpClass · 0.85
expected_output_dtypeMethod · 0.45

Tested by 5

CompileMethod · 0.36
CompileMethod · 0.36
CompileMethod · 0.36
CompileMethod · 0.36
CompileMethod · 0.36