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

Function GetTensor

tensorflow/cc/framework/testutil.cc:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void GetTensor(const Scope& scope, Output tensor, Tensor* out) {
34 std::vector<Tensor> outputs;
35 GetTensors(scope, {std::move(tensor)}, &outputs);
36 *out = outputs[0];
37}
38
39void GetTensors(const Scope& scope, const std::vector<Output>& assign_vars,
40 const OutputList& tensors, std::vector<Tensor>* out) {

Callers 5

SetInputTensorMethod · 0.85
GetOutputTensorMethod · 0.85
TESTFunction · 0.85
CheckGradMethod · 0.85
CheckGradMethod · 0.85

Calls 1

GetTensorsFunction · 0.85

Tested by

no test coverage detected