- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Value (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
/// found, call `compute_func`. If `compute_func` set `status` to `TF_OK`, /// store a copy of the output parameter in the cache, and another copy in /// `value`. void LookupOrCompute(const std::string& key, T* value, const ComputeFunc& compute_func, TF_Status* status) { if (max_age_ == 0) { return compute_func(key, value, status); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
TF_Status* s); // `attr_name` must outlive `op`. void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name, TF_DataType value, TF_Status* s); void TF_DeleteAbstractTensor(TF_AbstractTensor*); // TF_OutputList holds the list of TF_AbstractTensor that results from executing // an operation, or provided to create a function.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
ASSERT_EQ(TF_TensorType(actual_value.get()), static_cast<TF_DataType>(DataTypeToEnum<value_type>().value)); EXPECT_EQ(expected_value, *static_cast<value_type*>(TF_TensorData(actual_value.get()))); } template <std::size_t num_devices> void RegisterParallelDevice( TFE_Context* context, const char* device_name,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
// and then incremented that counter for various values of label: // streamz->GetCell("label-value")->IncrementBy(1); // // The test code can then read and test the value of that counter: // // auto* reader = TFE_MonitoringNewCounterReader("name"); // test(); // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value"); // Opaque handle to a reader. typedef struct TFE_MonitoringCounterReader TFE_MonitoringCounterReader;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value); // Return a tensor handle containing a int scalar TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, int value); // Return a tensor handle containing a bool scalar TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value); // Return a tensor handle containing a tstring scalar
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.h
size_t length) override; Status SetAttrInt(const char* attr_name, int64_t value) override; Status SetAttrFloat(const char* attr_name, float value) override; Status SetAttrBool(const char* attr_name, bool value) override; Status SetAttrType(const char* attr_name, DataType value) override; Status SetAttrShape(const char* attr_name, const int64_t* dims, const int num_dims) override;
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/abstract_operation.h
size_t length) = 0; virtual Status SetAttrInt(const char* attr_name, int64_t value) = 0; virtual Status SetAttrFloat(const char* attr_name, float value) = 0; virtual Status SetAttrBool(const char* attr_name, bool value) = 0; virtual Status SetAttrType(const char* attr_name, DataType value) = 0; virtual Status SetAttrShape(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/parallel_device/parallel_device.h
// "/job:localhost/replica:0/task:0/device:GPU:1"} // Then executing an operation on CUSTOM:0 will execute it on GPU:0 and GPU:1. // // Implicit copies onto `device_name` are allowed, replicating the value once // per device in `underlying_devices`. Implicit copies off of the device throw // an error. // // All component tensors must have the same dtype. Currently they must also have
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/eager/tfe_op_attrs_internal.h
#define TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/abstract_op_attrs.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/core/framework/attr_value.pb.h" // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways // that sometimes do not require serialization. typedef struct TFE_OpAttrs TFE_OpAttrs; typedef struct TFE_Context TFE_Context;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 10 05:41:19 GMT 2021 - 1.6K bytes - Viewed (0) -
tensorflow/c/c_api_macros_internal.h
// https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \ do { \ if (STRUCT_OBJ.struct_size == 0) { \
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0)