- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for dyn_cast (0.04 seconds)
-
tensorflow/c/eager/c_api_unified_experimental_eager.cc
// ============================================================================= using tensorflow::AbstractContext; using tensorflow::AbstractTensorHandle; using tensorflow::dyn_cast; using tensorflow::ImmediateExecutionContext; using tensorflow::ImmediateExecutionTensorHandle; using tensorflow::string; using tensorflow::unwrap; using tensorflow::wrap; using tensorflow::strings::StrCat;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 3.2K bytes - Click Count (0) -
tensorflow/c/eager/gradients.cc
AbstractOperationPtr op(ctx->CreateOperation()); 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;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 19.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
tensorflow::unwrap(h); // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here. if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) { return tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>( unwrapped_handle) ->DevicePointer(); } // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0)