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

Function V

tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr_test.cc:31–35  ·  view source on GitHub ↗

string -> Tensor

Source from the content-addressed store, hash-verified

29
30// string -> Tensor<string>
31Tensor V(const string& content) {
32 Tensor tensor(DT_STRING, TensorShape({}));
33 tensor.scalar<tstring>()() = content;
34 return tensor;
35}
36
37// Tensor<string> -> string
38string 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