- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for OnesLike (0.13 sec)
-
tensorflow/c/experimental/gradients/math_grad.cc
TF_RETURN_IF_ERROR(SafeConj(ctx, X, &temp_output, name.c_str())); AbstractTensorHandlePtr Conj_X(temp_output); // Creates Ones name = "OnesLike_Log1p_Grad_X"; TF_RETURN_IF_ERROR(OnesLike(ctx, Conj_X.get(), &temp_output, name.c_str())); AbstractTensorHandlePtr Ones_X(temp_output); name = "Add_Log1p_Grad_X"; // Calculate 1 + Conj(X) TF_RETURN_IF_ERROR(
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
AbstractOperationPtr op(ctx_->CreateOperation()); TF_RETURN_IF_ERROR(op->Reset("OnesLike", /*raw_device_name=*/nullptr)); 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;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0)