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

Method ConstantInput

tensorflow/compiler/tf2xla/xla_op_kernel.cc:139–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139Status XlaOpKernelContext::ConstantInput(int index,
140 xla::Literal* constant_literal) {
141 return ConstantInputReshaped(
142 index, context_->input(index).shape().dim_sizes(), constant_literal);
143}
144
145static xla::StatusOr<int> InputIndex(XlaOpKernelContext* context,
146 absl::string_view name) {

Callers 8

CompileImplFunction · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80

Calls 3

dim_sizesMethod · 0.45
shapeMethod · 0.45
inputMethod · 0.45

Tested by

no test coverage detected