- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for volume (0.17 sec)
-
tensorflow/c/eager/unified_api_testutil.h
*tensor = unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get())); return absl::OkStatus(); } // Return a scalar tensor handle with given value. template <class T, TF_DataType datatype> Status TestScalarTensorHandle(AbstractContext* ctx, const T value, AbstractTensorHandle** tensor) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/abstract_op_attrs.h
#ifndef TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_ #define TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_ #include "absl/container/inlined_vector.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { // Attributes of an op. class AbstractOpAttrs { protected:
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/immediate_execution_tensor_handle.h
// the handle loses information, but `SummarizeValue` would be more precise. virtual bool PreferCustomSummarizer() const { return false; } // Returns a string which summarizes the value of this TensorHandle, for // debugging. Does not include a shape or dtype. // // Included in the default implementation of DebugString. virtual Status SummarizeValue(std::string& summary) const;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
std::unordered_map<tensorflow::string, tensorflow::Node*> name_map TF_GUARDED_BY(mu); // The keys of this map are all the active sessions using this graph. Each // value records whether the graph has been mutated since the corresponding // session has been run (this is detected in RecordMutation function). If the // string is empty, no mutation has occurred. Otherwise the string is a
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
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_experimental.h
const char* value, TF_Status* status); // Get configuration key and value using coordination service. // The config key must be set before getting its value. Getting value of // non-existing config keys will result in errors. // If `timeout_in_ms=0`, this call will block until the key-value is set or the // worker shuts down.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K 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)