- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for enum (0.13 sec)
-
tensorflow/c/eager/abstract_op_attrs.h
#include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { // Attributes of an op. class AbstractOpAttrs { protected: enum AbstractOpAttrsKind { kEager, kTfrt }; explicit AbstractOpAttrs(AbstractOpAttrsKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of. AbstractOpAttrsKind getKind() const { return kind_; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed May 26 22:20:27 GMT 2021 - 2K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
namespace tensorflow { // Abstract interface to a Tensor handle in either tracing or immediate // execution mode. class AbstractTensorHandle : public core::RefCounted { protected: enum AbstractTensorHandleKind { kGraph, kMlir, kEager, kTfrt, kCustomDevice }; explicit AbstractTensorHandle(AbstractTensorHandleKind kind) : kind_(kind) {} ~AbstractTensorHandle() override {} public:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 03 00:30:36 GMT 2023 - 3K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
virtual Status SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) = 0; virtual Status SetAttrBoolList(const char* attr_name, const unsigned char* values, int num_values) = 0; virtual Status SetAttrShapeList(const char* attr_name, const int64_t** dims,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.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 { // Running operations with input tensors on the wrong device will fail. DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
// representation between various supported formats e.g. FunctionDef and Mlir // function. class AbstractFunction : public core::RefCounted { protected: enum AbstractFunctionKind { kGraph, kMlir }; explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 04 19:49:06 GMT 2024 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Controls how to act when we try to run an operation on a given device but // some input tensors are not on that device. // LINT.IfChange // Note: Keep in sync with internal copy of enum in eager/context.h. typedef enum TFE_ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. TFE_DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/experimental/grappler/grappler.h
// or removed during the graph transformation. This includes feed and fetch // nodes, keep_ops, init_ops. Fills in `num_values` and `storage_size`, they // will be used in `TF_GetNodesToPreserveList`. TF_CAPI_EXPORT extern void TF_GetNodesToPreserveListSize( const TF_GrapplerItem* item, int* num_values, size_t* storage_size, TF_Status* status); // Get a set of node names that must be preserved. They can not be transformed
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
if (values.size() != num_underlying_devices()) { TF_SetStatus( status, TF_INVALID_ARGUMENT, "Number of values did not match number of underlying devices."); return nullptr; } TF_DataType datatype_enum( static_cast<TF_DataType>(DataTypeToEnum<DataType>().value)); for (int device_index = 0; device_index < num_underlying_devices(); ++device_index) {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
/// FETCHING. After completing, if the read was successful the state should /// be FINISHED. Otherwise the state should be ERROR. A subsequent read can /// re-fetch the block if the state is ERROR. enum class FetchState { CREATED, FETCHING, FINISHED, ERROR, }; /// \brief A block of a file. /// /// A file block consists of the block data, the block's current position in
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
// (for now at least). // Implementations of the context may contain some state e.g. an execution // environment, a traced representation etc. class AbstractContext { protected: enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler }; explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {} virtual ~AbstractContext() {} public:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0)