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

Function GetInputEmbeddingVar

tensorflow/core/kernels/kv_variable_ops.h:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161template <class K, class V>
162Status GetInputEmbeddingVar(OpKernelContext* ctx, int input,
163 EmbeddingVar<K, V>** var) {
164 if (LookupResource(ctx, HandleFromInput(ctx, input), var).ok()) {
165 return Status::OK();
166 } else {
167 return errors::Internal("Invalid versioned variable reference.");
168 }
169}
170
171Status MoveMatchingFiles(
172 Env* env,

Callers 12

ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85
ComputeMethod · 0.85

Calls 4

LookupResourceFunction · 0.85
HandleFromInputFunction · 0.85
InternalFunction · 0.85
okMethod · 0.45

Tested by

no test coverage detected