- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 207 for cc_status (0.15 sec)
-
tensorflow/c/checkpoint_reader.h
// other languages. // // The class currently only interacts with single-slice (i.e., non-partitioned) // variables. class CheckpointReader { public: CheckpointReader(const string& filename, TF_Status* status); 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.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data, const int64_t* dims, int num_dims, AbstractTensorHandle** tensor) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(wrap(ctx), status.get()); TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
#include "tensorflow/c/eager/c_api_unified_experimental.h" #include "tensorflow/c/eager/c_api_unified_experimental_internal.h" #include "tensorflow/c/eager/graph_function.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_status_helper.h" #include "xla/tsl/c/tsl_status_internal.h" #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/shape_inference.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 15.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
#include <list> #include <map> #include <memory> #include <string> #include "absl/base/thread_annotations.h" #include "absl/synchronization/mutex.h" #include "tensorflow/c/env.h" #include "tensorflow/c/tf_status.h" namespace tf_gcs_filesystem { /// \brief An LRU cache of string keys and arbitrary values, with configurable /// max item age (in seconds) and max entries. /// /// This class is thread safe.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 09 19:31:22 UTC 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/public/README.md
The following example loads a saved model from `"/path/to/model"` and executes a function `f` taking no arguments and returning one single value (error checking is omitted for simplicity): ```c TF_Status* status = TF_NewStatus(); TFE_ContextOptions* ctx_options = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(ctx_options, status); TF_SavedModel* saved_model = TF_LoadSavedModel("/path/to/model", ctx, status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 16 23:02:56 UTC 2020 - 904 bytes - Viewed (0) -
tensorflow/c/safe_ptr.cc
Safe_TF_TensorPtr make_safe(TF_Tensor* tensor) { return Safe_TF_TensorPtr(tensor); } Safe_TFE_TensorHandlePtr make_safe(TFE_TensorHandle* handle) { return Safe_TFE_TensorHandlePtr(handle); } Safe_TF_StatusPtr make_safe(TF_Status* status) { return Safe_TF_StatusPtr(status); } Safe_TF_BufferPtr make_safe(TF_Buffer* buffer) { return Safe_TF_BufferPtr(buffer); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 22 19:17:09 UTC 2023 - 1.1K bytes - Viewed (0) -
tensorflow/c/eager/dlpack_test.cc
#include "include/dlpack/dlpack.h" // from @dlpack #include "tensorflow/c/eager/c_api.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { void TestHandleFromDLPack(TF_Status* status, TFE_Context* ctx, std::vector<int64_t> shape, std::vector<int64_t> strides) { size_t num_elements = 1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 30 03:04:46 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
#include "tensorflow/core/util/tensor_bundle/tensor_bundle.h" namespace tensorflow { namespace checkpoint { class TensorSliceReader; CheckpointReader::CheckpointReader(const string& filename, TF_Status* status) : reader_(nullptr), v2_reader_(nullptr), var_to_shape_map_(nullptr), var_to_data_type_map_(nullptr) { // Depending on whether this is a V2 ckpt, initializes "reader_" or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 21:29:12 UTC 2023 - 5.5K bytes - Viewed (0) -
tensorflow/c/tf_status_internal.h
#ifndef TENSORFLOW_C_TF_STATUS_INTERNAL_H_ #define TENSORFLOW_C_TF_STATUS_INTERNAL_H_ #include "xla/tsl/c/tsl_status_internal.h" typedef struct TSL_Status TF_Status;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 885 bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
#include "tensorflow/c/eager/abstract_operation.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/c_api_unified_experimental.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/platform/casts.h" #include "tensorflow/core/platform/types.h" namespace tensorflow {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Nov 13 22:20:40 UTC 2020 - 5.2K bytes - Viewed (0)