- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 108 for c_status (0.28 sec)
-
tensorflow/c/eager/c_api_unified_experimental.h
// here. void TF_SetTracingImplementation(const char* name, TF_Status*); // Creates a new TensorFlow function. A Function is an execution context, and as // such it can trace operations through TF_ExecuteOperation. After completing // tracing, a function can be obtained by TF_FinalizeFunction. TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* status); // Creates a context for eager execution of operations.
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/c_api_experimental_reader_test.cc
CHECK_EQ(actual, 1); } TFE_MonitoringCounter0* CreateCounter0(const char* counter_name) { TF_Status* status = TF_NewStatus(); auto* counter = TFE_MonitoringNewCounter0(counter_name, status, "description"); TF_DeleteStatus(status); return counter; } void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta) { auto* cell = TFE_MonitoringGetCellCounter0(counter);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 2.9K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
ASSERT_NE(*op, nullptr); } TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name, TF_DataType dtype, const std::vector<int64_t>& dims) { TF_Operation* op; PlaceholderHelper(graph, s, name, dtype, dims, &op); return op; } void ConstHelper(TF_Tensor* t, TF_Graph* graph, TF_Status* s, const char* name, TF_Operation** op) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_static.cc
#include "tensorflow/core/platform/status.h" namespace tensorflow { // Register the POSIX filesystems statically. // Return value will be unused bool StaticallyRegisterLocalFilesystems() { TF_FilesystemPluginInfo info; TF_InitPlugin(&info); Status status = filesystem_registration::RegisterFilesystemPluginImpl(&info); if (!status.ok()) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
const ComputeFunc& compute_func, TF_Status* status) { if (max_age_ == 0) { return compute_func(key, value, status); } // Note: we hold onto mu_ for the rest of this function. In practice, this // is okay, as stat requests are typically fast, and concurrent requests are // often for the same file. Future work can split this up into one lock per
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/experimental/filesystem/BUILD
visibility = ["//visibility:public"], deps = [ ":filesystem_interface", "//tensorflow/c:tf_status_helper", "//tensorflow/c:tf_status_internal", "//tensorflow/core/platform:env", "//tensorflow/core/platform:errors", "//tensorflow/core/platform:status", "@local_tsl//tsl/platform:errors", ], ) # Compliance test for modules and for interface tf_cc_test(
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 2.1K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
// that the argument need to be handled by a custom device. virtual bool HasCustomDeviceInput() const = 0; virtual const tensorflow::OpDef* OpDef() const = 0; virtual Status InputLength(const char* input_name, int* length) = 0; virtual Status OutputLength(const char* output_name, int* length) = 0; // Set stack trace to be used for potential async error reporting. virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
*ctx = unwrap(TF_NewEagerExecutionContext(opts, status.get())); TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get())); TFE_DeleteContextOptions(opts); return absl::OkStatus(); } Status GetValue(AbstractTensorHandle* t, TF_Tensor** result_tensor) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TFE_TensorHandle* result_t =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
grad_inputs[0]->Ref(); grad_inputs[1]->Ref(); return absl::OkStatus(); } ~AddGradientFunction() override {} }; class ExpGradientFunction : public GradientFunction { public: explicit ExpGradientFunction(AbstractTensorHandle* exp) : exp_(exp) { exp->Ref(); } Status Compute(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> grad_outputs,
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/eager/tracing_utils.h
#ifndef TENSORFLOW_C_EAGER_TRACING_UTILS_H_ #define TENSORFLOW_C_EAGER_TRACING_UTILS_H_ #include "tensorflow/c/eager/abstract_operation.h" namespace tensorflow { namespace tracing { Status MaybeSetOpName(AbstractOperation*, const char* op_name); } // namespace tracing } // namespace tensorflow
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 31 17:39:44 GMT 2022 - 1016 bytes - Viewed (0)