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

Function V

tensorflow/core/common_runtime/rendezvous_util_test.cc:34–38  ·  view source on GitHub ↗

string -> Tensor

Source from the content-addressed store, hash-verified

32
33// string -> Tensor<string>
34Tensor V(const string& content) {
35 Tensor tensor(DT_STRING, TensorShape({}));
36 tensor.scalar<tstring>()() = content;
37 return tensor;
38}
39
40// Tensor<string> -> string
41string V(const Tensor& tensor) {

Callers 1

TEST_FFunction · 0.70

Calls 4

TensorShapeClass · 0.50
IsScalarFunction · 0.50
dtypeMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected