- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 632 for classof (0.23 sec)
-
tensorflow/c/eager/c_api_unified_experimental_internal.h
// type of AbstractTensor in their context (do not pass an MlirTensor to a // GraphContext and vice-versa). class TracingTensorHandle : public AbstractTensorHandle { protected: explicit TracingTensorHandle(AbstractTensorHandleKind kind) : AbstractTensorHandle(kind) {} public: // For LLVM style RTTI. static bool classof(const AbstractTensorHandle* ptr) { return ptr->getKind() == kGraph || ptr->getKind() == kMlir; } };
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 13 22:20:40 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/graph_function.h
absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord() override { return func_record_.GetNewRef(); } // For LLVM style RTTI. static bool classof(const AbstractFunction* ptr) { return ptr->getKind() == kGraph; } private: core::RefCountPtr<FunctionRecord> func_record_; }; } // namespace graph } // namespace tracing } // namespace tensorflow
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Mar 04 19:49:06 GMT 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_context.h
namespace tensorflow { namespace gradients { class TapeContext : public AbstractContext { public: explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&); void Release() override; TapeOperation* CreateOperation() override; Status RegisterFunction(AbstractFunction*) override; Status RemoveFunction(const string& func) override; // For LLVM style RTTI. static bool classof(const AbstractContext* ptr) {
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
#include "tensorflow/core/platform/status.h" #include "tensorflow/core/util/managed_stack_trace.h" struct TFE_Op; namespace tensorflow { class ImmediateExecutionContext; class AbstractOpAttrs; // Abstract interface to an operation. class ImmediateExecutionOperation : public AbstractOperation { public: virtual void Clear() = 0; // Returns the inputs of this op.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// // A TensorHandle is management class around a Tensor which may track additional // metadata and synchronization. // // This allows us to hide concrete implementations of TensorHandle from header // files. The interface lists the common functionality that must be provided by // any concrete implementation. However, in cases where the true concrete class // is needed a static_cast can be applied.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.h
Status SetAttrFunctionList( const char* attr_name, absl::Span<const AbstractOperation*> values) override; AbstractOperation* GetBackingOperation(); // For LLVM style RTTI. static bool classof(const AbstractOperation* ptr) { return ptr->getKind() == kTape; } ~TapeOperation() override; private: AbstractOperation* parent_op_; ForwardOperation forward_op_; Tape* tape_;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 3.7K bytes - Viewed (1) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
namespace tracing { namespace graph { class GraphContext; class GraphOperation; class GraphTensor; auto& kUnknownDim = shape_inference::InferenceContext::kUnknownDim; auto& kUnknownRank = shape_inference::InferenceContext::kUnknownRank; // GraphTensor wraps a `TF_Output`, i.e. a pointer to TF_Operation and the index // into the list of outputs for the operation. class GraphTensor : public TracingTensorHandle { public:
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_context.h
#include "tensorflow/core/platform/tstring.h" #include "tensorflow/core/protobuf/config.pb.h" #include "tensorflow/core/util/device_name_utils.h" namespace tensorflow { class EagerExecutor; class EagerContext; class CustomDevice; class CustomDeviceOpHandler; class Device; // LINT.IfChange // Note: Keep in sync with exported copy of enum in eager/c_api.h. enum ContextDevicePlacementPolicy {
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
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. if (!tensorflow::TensorHandle::classof(unwrapped_handle)) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/eager/c_api_experimental.cc
for (int i = 0; i < *num_handles; ++i) { tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle = tensorflow::unwrap(handles[i]); if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) { // One of the inputs we're trying to pack is on a custom device. We'll let // the first custom device we see handle all of the packing. auto* custom_device_handle =
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3)