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

Method WriteTensorInternal

tensorflow/core/kernels/data/dataset_utils.cc:594–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594Status VariantTensorDataWriter::WriteTensorInternal(StringPiece key,
595 const Tensor& val) {
596 DCHECK_EQ(key.find(kDelimiter), string::npos);
597 keys_.push_back(string(key));
598 *(data_->add_tensors()) = val;
599 return Status::OK();
600}
601
602Status AddToFunctionLibrary(FunctionLibraryDefinition* base,
603 const FunctionLibraryDefinition& to_add) {

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
push_backMethod · 0.45
add_tensorsMethod · 0.45

Tested by

no test coverage detected