- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for from (0.16 sec)
-
tensorflow/c/c_test_util.h
// Create a tensor with values of type TF_INT32 provided by `values`. TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims, const int32_t* values); // Create 1 dimensional tensor with values from `values` TF_Tensor* Int32Tensor(const std::vector<int32_t>& values); TF_Tensor* Int32Tensor(int32_t v); TF_Tensor* DoubleTensor(double v); TF_Tensor* FloatTensor(float v);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 09 01:06:53 GMT 2018 - 6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// implements. Each of them is in a 1-to-1 correspondence with the wrapper /// structures from the first section: these tables only contain function /// pointers that operate on the corresponding data. Thus, the first argument of /// each of these functions is a pointer to the paired struct and this argument /// can be used to track state in between calls (from an object oriented point /// of view, this can be viewed as a "vtable" for a "class" -- that is the
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
// While there is no immediate plan to deprecate dtype and shape in favor // of only using full type type information, this is a future possibility. // // Note that map_dtype_to_child_of_tensor() from core/framework/types.h // can be used to set a FullTypeDef based on dtype in a derived class if // appropriate. virtual tensorflow::FullTypeDef FullType() const = 0;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Mar 03 00:30:36 GMT 2023 - 3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
virtual AbstractTensorInterface* CreateTensor( DataType dtype, absl::Span<const int64_t> dim_sizes) = 0; typedef void (*MemoryReleaser)(void* data, size_t len, void* arg); // Create a tensor instance from the given data buffer and description. // `memory_releaser` will be called on destruction, and it's responsible for // cleaning up the underlying buffer. virtual AbstractTensorInterface* CreateTensor(
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/experimental/next_pluggable_device/c_api.h
TF_CAPI_EXPORT extern void TF_CoordinationServiceInsertKeyValue( const char* key, int64_t key_size, const char* value, int64_t value_size, TF_CoordinationServiceAgent* agent, TF_Status* status); // Obtains key-value from coordination service agent. The returned `TF_Buffer` // is a newly allocated buffer to hold the string key-value, and caller is // responsible for managing the lifetime. If error, `status` will be set and a
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
// for `Env::Default()` altogether, but that's a different project, not in // scope for now. I'm just mentioning this here as that transition will mean // removal of the registration part from `Env` and adding it here instead: we // will need tables to hold for each scheme the function tables that implement // the needed functionality instead of the current `FileSystemRegistry` code in // `core/platform/env.cc`.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
bool HasTensor(const string& name) const; const string DebugString() const; // Returns a map from variable names to their shapes. Slices of a partitioned // tensor are combined into a single entry. const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const; // Returns a map from variable names to their data types. Slices of a // partitioned tensor are combined into a single entry.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/c_op_requires.h
::tensorflow::Status _s(__VA_ARGS__); \ if (!TF_PREDICT_TRUE(_s.ok())) { \ ::tensorflow::Set_TF_Status_from_Status(C_STATUS, _s); \ TF_OpKernelContext_Failure(CTX, C_STATUS); \ TF_DeleteStatus(C_STATUS); \ return; \
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Aug 02 21:35:06 GMT 2022 - 2.3K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
struct TF_Graph { TF_Graph(); mutable tensorflow::mutex mu; tensorflow::Graph graph TF_GUARDED_BY(mu); // Runs shape inference. tensorflow::ShapeRefiner refiner TF_GUARDED_BY(mu); // Maps from name of an operation to the Node* in 'graph'. 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
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// Abstract interface to a TensorHandle. // // 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)