- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for Errorf (0.18 sec)
-
tensorflow/c/experimental/gradients/nn_grad.cc
// TODO(b/168850692): Fix this. return errors::Unimplemented( "BroadcastMul is not supported in tracing mode yet."); } auto imm_ctx = dyn_cast<ImmediateExecutionContext>(ctx); AbstractTensorPtr minus_1(imm_ctx->CreateInt32Scalar(-1)); ImmediateTensorHandlePtr dim(imm_ctx->CreateLocalHandle(minus_1.get())); AbstractTensorHandle* expand_dims_outputs; TF_RETURN_IF_ERROR(
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
"' (available: "); // Ensure deterministic (sorted) order in the error message std::set<string> factories_sorted; for (const auto& factory : GetFactories()) factories_sorted.insert(factory.first); const char* comma = ""; for (const string& factory : factories_sorted) { msg += comma + factory; comma = ", "; } msg += ")"; return errors::InvalidArgument(msg.c_str()); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
} registry_.insert({op_name, gradient_function_factory}); return absl::OkStatus(); } Status GradientRegistry::Lookup( const ForwardOperation& op, std::unique_ptr<GradientFunction>* gradient_function) const { auto iter = registry_.find(op.op_name); if (iter == registry_.end()) { const string error_msg = "No gradient defined for op: " + op.op_name + "."; return errors::NotFound(error_msg);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/array_grad_test.cc
status_ = StatusFromTF_Status(status.get()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); { AbstractContext* ctx_raw = nullptr; status_ = BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); immediate_execution_ctx_.reset(ctx_raw); }
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
tensorflow/c/c_api.cc
using tensorflow::string; using tensorflow::Tensor; using tensorflow::TensorId; using tensorflow::TensorShapeProto; using tensorflow::VersionDef; using tensorflow::errors::FailedPrecondition; using tensorflow::errors::InvalidArgument; using tensorflow::errors::OutOfRange; using tensorflow::gtl::ArraySlice; using tensorflow::strings::StrCat; extern "C" {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc
} // Both files have been opened, do the transfer. // Since errno would be overridden by `close` below, save it here. int error_code = 0; if (CopyFileContents(dst_fd, src_fd, size) < 0) error_code = errno; close(src_fd); close(dst_fd); if (error_code != 0) { errno = error_code; return -1; } else { return 0; } } int RemoveSpecialDirectoryEntries(const struct dirent* entry) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jan 16 05:36:52 GMT 2020 - 2.1K bytes - Viewed (1) -
tensorflow/c/experimental/gradients/grad_test_helper.h
Model model, Model grad_model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, bool use_function, double abs_error = 1e-2); void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals, absl::Span<const int64_t> dims, double abs_error = 1e-2); Model BuildGradModel(Model forward, GradientRegistry registry); } // namespace internal } // namespace gradients
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jan 14 20:36:51 GMT 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/BUILD
"//tensorflow/core/platform:logging", "//tensorflow/core/platform:status", "@com_google_absl//absl/status", "@local_tsl//tsl/platform:env", "@local_tsl//tsl/platform:errors", ], ) tf_cc_test( name = "grappler_test", srcs = ["grappler_test.cc"], deps = [ ":grappler", "//tensorflow/c:c_api_internal", "//tensorflow/c:tf_buffer_internal",
Plain Text - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 2.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // Report error (specified by error_code and error_message) to other tasks in // the cluster. TF_CAPI_EXPORT extern void TFE_ReportErrorToCluster(TFE_Context* ctx, int error_code, const char* error_message, TF_Status* status);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0)