- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for abstract_operation (0.1 sec)
-
tensorflow/c/eager/abstract_operation.h
// tracing or immediate execution mode. class AbstractOperation { protected: enum AbstractOperationKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler }; explicit AbstractOperation(AbstractOperationKind kind) : kind_(kind) {} virtual ~AbstractOperation() {} public: AbstractOperationKind getKind() const { return kind_; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual void SetStepId(int64_t step_id) = 0; // For LLVM style RTTI. static bool classof(const AbstractOperation* ptr) { return ptr->getKind() == kEager || ptr->getKind() == kTfrt; } protected: explicit ImmediateExecutionOperation(AbstractOperationKind kind) : AbstractOperation(kind) {} ~ImmediateExecutionOperation() override {} }; namespace internal {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
#define TENSORFLOW_C_EAGER_ABSTRACT_CONTEXT_H_ #include <memory> #include "tensorflow/c/eager/abstract_function.h" #include "tensorflow/c/eager/abstract_operation.h" namespace tensorflow { // Abstract interface to a context. // // This serves as a factory for creating `AbstractOperation`s and for // registering traced functions. // Operations creation within a context can only be executed in that context // (for now at least).
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
// It is allowed to reusing the same abstract operation for multiple execution // on a given context, with the same or different input tensors. class TracingOperation : public AbstractOperation { protected: explicit TracingOperation(AbstractOperationKind kind) : AbstractOperation(kind) {} public: // Sets the name of the operation: this is an optional identifier that is // not intended to carry semantics and preserved/propagated without
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/gradients_internal.h
absl::Status SetAttrInt(AbstractOperation*, const char* attr_name, int64_t value, ForwardOperation*); absl::Status SetAttrFloat(AbstractOperation*, const char* attr_name, float value, ForwardOperation*); absl::Status SetAttrBool(AbstractOperation*, const char* attr_name, bool value, ForwardOperation*); absl::Status SetAttrType(AbstractOperation*, const char* attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.7K bytes - Viewed (0)