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

Method SetConstantOutput

tensorflow/compiler/tf2xla/xla_op_kernel.cc:513–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void XlaOpKernelContext::SetConstantOutput(int index, const Tensor& constant) {
514 SetOutputExpression(index, XlaExpression::Constant(constant));
515}
516
517void XlaOpKernelContext::SetTensorListOutput(int index,
518 const xla::XlaOp& handle) {

Callers 15

CompileFunctionalNodeMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
OutputMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileImplMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80

Calls 1

ConstantFunction · 0.50

Tested by

no test coverage detected