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

Method AddInput

tensorflow/core/common_runtime/eager/eager_operation.cc:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void EagerOperation::AddInput(tensorflow::TensorHandle* h) {
30 h->Ref();
31 inputs_.push_back(h);
32 attrs_.NumInputs(static_cast<int>(inputs_.size()));
33}
34
35void EagerOperation::UpdateInput(int i, tensorflow::TensorHandle* h) {
36 h->Ref();

Callers 1

SetupNewOpMethod · 0.45

Calls 4

RefMethod · 0.45
push_backMethod · 0.45
NumInputsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected