- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetOpName (0.04 sec)
-
tensorflow/c/eager/c_api_unified_experimental_graph.cc
return absl::OkStatus(); } absl::Status SetOpName(const char* const op_name) override { if (op_) { return errors::FailedPrecondition( "SetOpName called on already built op."); } if (op_type_.empty()) { return errors::FailedPrecondition( "GraphOperation::Reset must be called before calling SetOpName."); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
TF_RETURN_IF_ERROR(op->Reset("ZerosLike", /*raw_device_name=*/nullptr)); if (isa<tracing::TracingOperation>(op.get())) { TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingOperation>(op.get())->SetOpName( absl::StrCat("ZerosLike", ToId(t)).c_str())); } TF_RETURN_IF_ERROR(op->AddInput(t)); int num_outputs = 1; std::vector<AbstractTensorHandle*> outputs(num_outputs); TF_RETURN_IF_ERROR(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0)