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

Method AssignVariable

tensorflow/compiler/tf2xla/xla_op_kernel.cc:570–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568} // namespace
569
570Status XlaOpKernelContext::AssignVariable(int input_index, DataType type,
571 xla::XlaOp handle) {
572 TF_RET_CHECK(handle.valid());
573 return AssignVariableTensor(context_->input(input_index), type, this, handle,
574 builder());
575}
576
577Status XlaOpKernelContext::AssignVariable(absl::string_view name, DataType type,
578 xla::XlaOp handle) {

Callers 15

CompileImplFunction · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 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

AssignVariableTensorFunction · 0.85
validMethod · 0.45
inputMethod · 0.45

Tested by

no test coverage detected