- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getHandle (0.06 sec)
-
tensorflow/c/eager/gradients.cc
if (isa<tracing::TracingOperation>(op.get())) { TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingOperation>(op.get())->SetOpName( absl::StrCat("OnesLike", ToId(t.GetHandle())).c_str())); } TF_RETURN_IF_ERROR(op->AddInput(t.GetHandle())); int num_outputs = 1; std::vector<AbstractTensorHandle*> outputs(num_outputs); TF_RETURN_IF_ERROR( op->Execute(absl::Span<AbstractTensorHandle*>(outputs), &num_outputs));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
TapeTensor(const TapeTensor& other); ~TapeTensor(); int64_t GetID() const; tensorflow::DataType GetDType() const; AbstractTensorHandle* ZerosLike() const; AbstractTensorHandle* GetHandle() const; private: AbstractTensorHandle* handle_; }; // A tracing/immediate-execution agnostic tape. // // Gradient functions defined for this tape must support handling null incoming
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.9K bytes - Viewed (0)